diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 7d3bccd..5688364 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -4,18 +4,21 @@ permissions: contents: write jobs: build-and-deploy: - concurrency: ci-${{ github.ref }} # Recommended if you intend to make multiple deployments in quick succession. + concurrency: ci-${{ github.ref }} runs-on: ubuntu-latest steps: - name: Checkout 🛎️ uses: actions/checkout@v4 - - name: Install and Build 🔧 # This example project is built using npm and outputs the result to the 'build' folder. Replace with the commands required to build your project, or remove this step entirely if your site is pre-built. + - name: Install and Build 🔧 run: | - npm ci + cd site + npm i + cd .. + npm i npm run build - name: Deploy 🚀 uses: JamesIves/github-pages-deploy-action@v4 with: - folder: site/dist # The folder the action should deploy. \ No newline at end of file + folder: site/dist \ No newline at end of file