Skip to content

Commit 44aa986

Browse files
committed
Fix GitHub Action: Use working-directory instead of --prefix for npm ci
1 parent 439d775 commit 44aa986

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/deploy-pages.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,14 @@ jobs:
2525
cache: npm
2626
cache-dependency-path: frontend/package-lock.json
2727
- name: Install frontend dependencies
28-
run: npm ci --prefix frontend
28+
working-directory: frontend
29+
run: npm ci
2930
- name: Build frontend
31+
working-directory: frontend
3032
env:
3133
GITHUB_ACTIONS: true
3234
VITE_API_URL: https://stegokit.onrender.com/api
33-
run: npm run build --prefix frontend
35+
run: npm run build
3436
- name: Upload artifact
3537
uses: actions/upload-pages-artifact@v3
3638
with:

0 commit comments

Comments
 (0)