Skip to content

Commit

Permalink
Added env for google cloud to production deploy (#343)
Browse files Browse the repository at this point in the history
  • Loading branch information
BryceMarshall authored Apr 2, 2024
1 parent 4af828b commit 0827ce4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/github-pages-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,14 @@ jobs:
run: |
npm ci
npm run build
with:
REACT_APP_GOOGLE_CLOUD_API_KEY: ${{ secrets.REACT_APP_GOOGLE_CLOUD_API_KEY }}
REACT_APP_GOOGLE_CLOUD_API_KEY_DEV: ${{ secrets.REACT_APP_GOOGLE_CLOUD_API_KEY_DEV }}

- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: build
env:
REACT_APP_GOOGLE_CLOUD_API_KEY: ${{ secrets.REACT_APP_GOOGLE_CLOUD_API_KEY }}
REACT_APP_GOOGLE_CLOUD_API_KEY_DEV: ${{ secrets.REACT_APP_GOOGLE_CLOUD_API_KEY_DEV }}

0 comments on commit 0827ce4

Please sign in to comment.