Skip to content

Commit

Permalink
Add env variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien CAFFET committed Sep 18, 2024
1 parent c96adcf commit db3681e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/deploy-frontend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ jobs:
APPLICATION: frontend
AWS_DEFAULT_REGION: eu-west-1
BUILD_DIR: ./build
ALGOLIA_API_KEY: ${{ vars.ALGOLIA_API_KEY }}
ALGOLIA_APP_ID: ${{ vars.ALGOLIA_APP_ID }}
ALGOLIA_INDEX_NAME: ${{ vars.ALGOLIA_INDEX_NAME }}

steps:
- uses: actions/checkout@v4
Expand All @@ -42,7 +45,7 @@ jobs:
echo "ENV=staging" >> $GITHUB_ENV
echo "AWS_ACCOUNT_ID=924226199168" >> $GITHUB_ENV
echo "AWS_S3_BUCKET=docs-frontend-staging-924226199168-eu-west-1" >> $GITHUB_ENV
- name: Set prod ENV
if: github.ref == 'refs/heads/master'
run: |
Expand Down

0 comments on commit db3681e

Please sign in to comment.