Skip to content

Commit

Permalink
fix: use correct build commands
Browse files Browse the repository at this point in the history
  • Loading branch information
steveoh committed Oct 3, 2024
1 parent 4b262d4 commit 5d1e205
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
service-account-email: ${{ secrets.SERVICE_ACCOUNT_EMAIL }}
project-id: ${{ secrets.PROJECT_ID }}
preview: yes
build-command: npm run build
build-command: npm run build -- --mode dev
repo-token: ${{ secrets.GITHUB_TOKEN }}
env:
VITE_DISCOVER_KEY: ${{ secrets.DISCOVER_QUAD_WORD }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
identity-provider: ${{ secrets.IDENTITY_PROVIDER }}
service-account-email: ${{ secrets.SERVICE_ACCOUNT_EMAIL }}
project-id: ${{ secrets.PROJECT_ID }}
build-command: npm run build:stage
build-command: npm run build -- --mode dev
env:
VITE_DISCOVER_KEY: ${{ secrets.DISCOVER_QUAD_WORD }}
VITE_API_KEY: ${{ secrets.WEB_API_KEY }}
Expand All @@ -45,7 +45,7 @@ jobs:
identity-provider: ${{ secrets.IDENTITY_PROVIDER }}
service-account-email: ${{ secrets.SERVICE_ACCOUNT_EMAIL }}
project-id: ${{ secrets.PROJECT_ID }}
build-command: npm run build:prod
build-command: npm run build -- --mode production
service-now-instance: ${{ secrets.SN_INSTANCE }}
service-now-table: ${{ secrets.SN_TABLE }}
service-now-system-id: ${{ secrets.SN_SYS_ID }}
Expand Down

0 comments on commit 5d1e205

Please sign in to comment.