Skip to content

Commit ccc32a4

Browse files
authored
Set working dir in deploy action (#39)
* Set working directory for npm steps * Also update the build directory path
1 parent 18b2c5d commit ccc32a4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/deploy.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,11 @@ jobs:
1919
node-version: 16.x
2020

2121
- name: Install dependencies 📦
22+
working-directory: ./frontend
2223
run: npm install
2324

2425
- name: Build 🔨
26+
working-directory: ./frontend
2527
run: |
2628
npm run build
2729
touch build/.nojekyll
@@ -33,5 +35,5 @@ jobs:
3335
uses: JamesIves/[email protected]
3436
with:
3537
branch: gh-pages
36-
folder: build
38+
folder: ./frontend/build
3739
single-commit: true

0 commit comments

Comments
 (0)