diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 77363122..f3737732 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -27,6 +27,9 @@ jobs: website-build: runs-on: ubuntu-latest + defaults: + run: + working-directory: 'website' steps: - uses: actions/checkout@v4 - uses: actions/configure-pages@v4 @@ -34,14 +37,12 @@ jobs: with: node-version: 20 cache: npm - ache-dependency-path: ./website/package-lock.json + ache-dependency-path: '**/package-lock.json' - run: npm ci - working-directory: ./website - run: npm run build - working-directory: ./website - uses: actions/upload-pages-artifact@v3 with: - path: 'website/build/' + path: 'build/' website-deploy: needs: website-build