diff --git a/.github/workflows/build-production-deploy-s3.yml b/.github/workflows/build-production-deploy-s3.yml index 97e963f1..6e42127d 100644 --- a/.github/workflows/build-production-deploy-s3.yml +++ b/.github/workflows/build-production-deploy-s3.yml @@ -23,6 +23,7 @@ jobs: # Append additional environment variables to .env.staging - name: Add extra env variables run: | + echo "" >> .env.production echo "REACT_APP_GOOGLE_MAPS_API_KEY=${{ secrets.GOOGLE_MAPS_API_KEY }}" >> .env.production echo "REACT_APP_GOOGLE_MAPS_ID=${{ secrets.GOOGLE_MAPS_ID }}" >> .env.production diff --git a/.github/workflows/build-staging-deploy-s3.yml b/.github/workflows/build-staging-deploy-s3.yml index 1417c367..44a9562a 100644 --- a/.github/workflows/build-staging-deploy-s3.yml +++ b/.github/workflows/build-staging-deploy-s3.yml @@ -21,6 +21,7 @@ jobs: # Append additional environment variables to .env.staging - name: Add extra env variables run: | + echo "" >> .env.staging echo "REACT_APP_GOOGLE_MAPS_API_KEY=${{ secrets.GOOGLE_MAPS_API_KEY }}" >> .env.staging echo "REACT_APP_GOOGLE_MAPS_ID=${{ secrets.GOOGLE_MAPS_ID }}" >> .env.staging - name: build