Skip to content

Commit

Permalink
Add env vars to build step
Browse files Browse the repository at this point in the history
  • Loading branch information
Alberto-Ito authored Dec 20, 2024
1 parent a1e06e7 commit dcd2bba
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,10 @@ jobs:
working-directory: aws-lambdas

- name: Build Astro site
env:
PUBLIC_API_HOST: ${{ vars.PUBLIC_API_HOST }}
PUBLIC_APPLICATION_API_ENDPOINT: ${{ vars.PUBLIC_APPLICATION_API_ENDPOINT }}
PUBLIC_GAME_API_ENDPOINT: ${{ vars.PUBLIC_GAME_API_ENDPOINT }}
run: |
yarn install
yarn astro build
Expand Down Expand Up @@ -117,4 +121,4 @@ jobs:
export STAGE="dev" # or "main" if you'd like to default to production
echo "Deploying with stage: $STAGE"
# Always deploy
yarn sst deploy --stage $STAGE
yarn sst deploy --stage $STAGE

0 comments on commit dcd2bba

Please sign in to comment.