Skip to content

Commit

Permalink
chore: Update .env.sample & add a check for google oauth client id (#223
Browse files Browse the repository at this point in the history
)
  • Loading branch information
v-almonacid authored Feb 7, 2024
1 parent d98a384 commit 72fe27d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/deploy-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,15 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Check if necessary ENV variables are set
run: |
if [ -z "$VITE_OAUTH_ID_GOOGLE" ]; then
echo "ERROR: missing google oauth client id"
exit 1
fi
env:
VITE_OAUTH_ID_GOOGLE: ${{ secrets.PROD__REACT_APP_OAUTH_ID_GOOGLE }}

- name: Set tag ENV
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV

Expand Down
2 changes: 2 additions & 0 deletions packages/frontend/.env.sample
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ VITE_DEFIPULSE_API_KEY=key
VITE_ETHERSCAN_API_KEY=key
VITE_ETHPLORER_API_KEY=key

VITE_API_BASE_URL=https://api.zettaday.com/
VITE_ZAPPER_BASE_URL=https://api.zapper.fi/v1/
VITE_ZAPPER_BASE_URL_V2=https://api.zapper.fi/v2/
VITE_COINGECKO_BASE_URL=https://api.coingecko.com/api/v3/
Expand All @@ -24,6 +25,7 @@ VITE_WALLET_CONNECT_PROJECT_ID=
VITE_SWAP_FEE=10
VITE_SWAP_FEE_ADDRESS=0x038C5e782FcE70C5CAf39b0Ba2Afe211F34f0bC5

VITE_OAUTH_ID_GOOGLE=

VITE_GA_MEASUREMENT_ID=G-ZT80HRR0MD
VITE_SENTRY_DSN=https://[email protected]/0
Expand Down

0 comments on commit 72fe27d

Please sign in to comment.