Skip to content
This repository has been archived by the owner on Sep 26, 2024. It is now read-only.

Commit

Permalink
Set vite build mode based on workflow inputs (#172)
Browse files Browse the repository at this point in the history
  • Loading branch information
elg0nz authored Sep 4, 2024
1 parent 10f5324 commit be5b61a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
run: pnpm install --no-frozen-lockfile

- name: Build artifacts
run: pnpm build
run: pnpm build --mode ${{ inputs.environment }}
env:
EXTENSION_ENV: ${{ inputs.environment }}

Expand Down
2 changes: 1 addition & 1 deletion apps/mocksi-lite-next/.env.production
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# [NO SENSITIVE DATA] use .env.production.local for secrets / passwords
VITE_NEST_APP=https://nest-auth-ts-merge.onrender.com
VITE_NEST_APP=https://app.mocksi.ai
2 changes: 2 additions & 0 deletions apps/mocksi-lite-next/.env.staging
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# [NO SENSITIVE DATA] use .env.local for secrets / passwords
VITE_NEST_APP=https://nest-auth-ts-merge.onrender.com

0 comments on commit be5b61a

Please sign in to comment.