Skip to content

Commit b3a20fc

Browse files
committed
use correct working directory
1 parent 6bb9628 commit b3a20fc

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/deploy.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,17 @@ jobs:
2424
cache: npm
2525

2626
- name: Install dependencies
27+
working-directory: ${{ env.cwd }}
2728
run: npm install --frozen-lockfile
29+
2830
- name: Build website
31+
working-directory: ${{ env.cwd }}
2932
run: npm run build
3033

3134
- name: Upload Build Artifact
3235
uses: actions/upload-pages-artifact@v3
3336
with:
34-
path: ../build
37+
path: ${{ env.cwd }}/../build
3538

3639
deploy:
3740
name: Deploy to GitHub Pages

0 commit comments

Comments
 (0)