Skip to content

Commit

Permalink
test working-directory option
Browse files Browse the repository at this point in the history
  • Loading branch information
vcoppe committed Jun 19, 2024
1 parent cc2559a commit aa06984
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -45,4 +45,8 @@ jobs:
steps:
- name: Deploy
id: deployment
uses: actions/deploy-pages@v4
uses: actions/deploy-pages@v4

defaults:
run:
working-directory: website

0 comments on commit aa06984

Please sign in to comment.