Skip to content

Commit ac3cd6c

Browse files
Set VITE_API_URL in GitHub Actions workflow
Add VITE_API_URL environment variable for build step
1 parent 604e9f5 commit ac3cd6c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎.github/workflows/deploy.yml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ jobs:
2727

2828
- run: npm ci
2929
- run: npm run build
30+
env:
31+
VITE_API_URL: ${{ secrets.VITE_API_URL }}
3032
- name: SPA fallback for GitHub Pages
3133
run: cp dist/index.html dist/404.html
3234

0 commit comments

Comments
 (0)