Skip to content

Commit

Permalink
👷 Add build env variables to CI
Browse files Browse the repository at this point in the history
GitHub doesn't expose these variables automatically, so let's set them
  • Loading branch information
rafaeelaudibert committed Jan 6, 2025
1 parent 8d887d2 commit baa8c15
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ jobs:
run: bun install
- name: Build website
run: bun run build
env:
POSTHOG_API_KEY: ${{ secrets.POSTHOG_API_KEY }}
POSTHOG_API_HOST: ${{ secrets.POSTHOG_API_HOST }}
AMAZON_SORTING_TABLE_API_URL: ${{ secrets.AMAZON_SORTING_TABLE_API_URL }}
- name: Deploy static website to S3 bucket
run: aws s3 sync ./dist s3://rafaaudibert-website --delete
- name: Invalidate Cloudfront Cache
Expand Down

0 comments on commit baa8c15

Please sign in to comment.