Skip to content

Commit

Permalink
Fix api keys for google maps
Browse files Browse the repository at this point in the history
  • Loading branch information
zendern committed Feb 8, 2023
1 parent b1af0fa commit fe5553d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
ref: ${{github.event.push.ref}}
- name: Build the Docker images
run: |-
docker build . --file Dockerfile-frontend --build-arg API_KEY=${{ secrets.GOOGLE_MAPS_API_KEY }} --tag ${{ secrets.ECR_REPO_URL }}/uct-frontend:${{ github.ref_name }}
docker build . --file Dockerfile-frontend --build-arg DEV_REACT_APP_GOOGLE_MAPS_API_KEY=${{ secrets.DEV_REACT_APP_GOOGLE_MAPS_API_KEY }} --build-arg PROD_REACT_APP_GOOGLE_MAPS_API_KEY=${{ secrets.PROD_REACT_APP_GOOGLE_MAPS_API_KEY }} --tag ${{ secrets.ECR_REPO_URL }}/uct-frontend:${{ github.ref_name }}
docker build . --file Dockerfile-backend --tag ${{ secrets.ECR_REPO_URL }}/uct-backend:${{ github.ref_name }}
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
Expand Down
4 changes: 2 additions & 2 deletions iac/bin/iac.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ new AppStack(app, 'DevStack',
listener,
zones,
database,
"v0.0.6",
"v0.0.6",
"v0.0.7",
"v0.0.7",
"dev",
{
env: { account: process.env.CDK_DEFAULT_ACCOUNT, region: "us-east-1" },
Expand Down

0 comments on commit fe5553d

Please sign in to comment.