From aa069847cf7f039be66572ce137f17f9d15ac3d7 Mon Sep 17 00:00:00 2001 From: vcoppe Date: Wed, 19 Jun 2024 20:22:52 +0200 Subject: [PATCH] test working-directory option --- .github/workflows/deploy.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 93e4e9f3..f6112b94 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -17,18 +17,18 @@ jobs: cache: npm - name: Install dependencies - run: npm install --prefix website + run: npm install - name: build env: BASE_PATH: '/${{ github.event.repository.name }}' run: | - npm run --prefix website build + npm run build - name: Upload Artifacts uses: actions/upload-pages-artifact@v3 with: - path: 'website/build/' + path: 'build/' deploy: needs: build_site @@ -45,4 +45,8 @@ jobs: steps: - name: Deploy id: deployment - uses: actions/deploy-pages@v4 \ No newline at end of file + uses: actions/deploy-pages@v4 + + defaults: + run: + working-directory: website \ No newline at end of file