test working-directory option
This commit is contained in:
parent
cc2559ad9b
commit
aa069847cf
1 changed files with 8 additions and 4 deletions
12
.github/workflows/deploy.yml
vendored
12
.github/workflows/deploy.yml
vendored
|
@ -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
|
||||
uses: actions/deploy-pages@v4
|
||||
|
||||
defaults:
|
||||
run:
|
||||
working-directory: website
|
Loading…
Reference in a new issue