Skip to content

Commit

Permalink
fix(app): add enable mainnet env variable (#7) (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
superical authored Nov 14, 2023
1 parent 66973a2 commit 4c636c9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/app-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ jobs:
--build-arg INFURA_API_KEY=${{ secrets.INFURA_API_KEY }} \
--build-arg ALCHEMY_API_KEY=${{ secrets.ALCHEMY_API_KEY }} \
--build-arg WALLETCONNECT_PROJECT_ID=${{ vars.APP_WALLETCONNECT_PROJECT_ID }} \
--build-arg ENABLE_MAINNETS=${{ vars.APP_ENABLE_MAINNETS }} \
--build-arg ENABLE_TESTNETS=${{ vars.APP_ENABLE_TESTNETS }} \
--build-arg ENABLE_HARDHAT_NODE=${{ vars.APP_ENABLE_HARDHAT_NODE }} \
--build-arg ENABLE_AUTOMATION=${{ vars.APP_ENABLE_AUTOMATION }} \
Expand Down
2 changes: 2 additions & 0 deletions packages/app/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ WORKDIR /app
ARG INFURA_API_KEY
ARG ALCHEMY_API_KEY
ARG WALLETCONNECT_PROJECT_ID
ARG ENABLE_MAINNETS
ARG ENABLE_TESTNETS
ARG ENABLE_HARDHAT_NODE
ARG ENABLE_AUTOMATION
Expand All @@ -26,6 +27,7 @@ ARG GA_MEASUREMENT_ID
ENV NEXT_PUBLIC_INFURA_API_KEY=$INFURA_API_KEY
ENV NEXT_PUBLIC_ALCHEMY_API_KEY=$ALCHEMY_API_KEY
ENV NEXT_PUBLIC_WALLETCONNECT_PROJECT_ID=$WALLETCONNECT_PROJECT_ID
ENV NEXT_PUBLIC_ENABLE_MAINNETS=$ENABLE_MAINNETS
ENV NEXT_PUBLIC_ENABLE_TESTNETS=$ENABLE_TESTNETS
ENV NEXT_PUBLIC_ENABLE_HARDHAT_NODE=$ENABLE_HARDHAT_NODE
ENV NEXT_PUBLIC_ENABLE_AUTOMATION=$ENABLE_AUTOMATION
Expand Down

0 comments on commit 4c636c9

Please sign in to comment.