Skip to content

Commit

Permalink
chore: set build variables from secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
birme committed Jun 13, 2024
1 parent 4d5fbfe commit e3fa0bc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/run-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ jobs:
run: |
yarn
yarn build --mode staging
env:
VITE_BACKEND_URL: ${{ secrets.MANAGER_DEV_URL }}
VITE_BACKEND_API_VERSION: api/v1

- name: Sync to Dev bucket
uses: jakejarvis/[email protected]
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/run-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ jobs:
run: |
yarn
yarn build --mode production
env:
VITE_BACKEND_URL: ${{ secrets.MANAGER_PROD_URL }}
VITE_BACKEND_API_VERSION: api/v1

- name: Sync to Demo bucket
uses: jakejarvis/[email protected]
Expand Down

0 comments on commit e3fa0bc

Please sign in to comment.