Skip to content

Commit

Permalink
Adds envs for GTM id: Battleship, Tamagotchi-battle, Galactix-express…
Browse files Browse the repository at this point in the history
…, Varaman
  • Loading branch information
Yauheni authored and YauheniDraichykau committed Jun 7, 2024
1 parent e31c4ea commit 41567b7
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 5 deletions.
1 change: 1 addition & 0 deletions .github/workflows/Release-DeployBattleship.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ jobs:
VITE_CONTRACT_ADDRESS=${{ secrets.VITE_CONTRACT_ADDRESS_BATTLE }}
VITE_SENTRY_DSN=${{ secrets.VITE_SENTRY_DSN_BATTLE }}
VITE_GASLESS_BACKEND_ADDRESS=${{ secrets.VITE_GASLESS_BACKEND_ADDRESS }}
VITE_GTM_ID=${{ secrets.VITE_GTM_ID_BATTLESHIP }}
deploy-to-k8s:
needs: [prepair, build-and-push-image]
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/Release-galactic-express.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ jobs:
REACT_APP_NODE_ADDRESS=${{ secrets.REACT_APP_NODE_ADDRESS }}
REACT_APP_CONTRACT_ADDRESS=${{ secrets.REACT_APP_CONTRACT_ADDRESS_GALACTIC }}
REACT_APP_SENTRY_DSN=${{ secrets.REACT_SENTRY_DSN_GALEX }}
REACT_APP_GTM_ID=${{ secrets.REACT_APP_GTM_ID_GALACTIC }}
deploy-to-k8s:
needs: [prepair, build-and-push-image]
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/Release-tamagochi-battle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ jobs:
REACT_APP_CONTRACT_ADDRESS=${{ secrets.REACT_APP_CONTRACT_ADDRESS_TAMAGOCHI_BATTLE }}
REACT_APP_SENTRY_DSN=${{ secrets.REACT_SENTRY_DSN_TAMAGOCHI_BATTLE }}
REACT_APP_GASLESS_BACKEND_ADDRESS=${{ secrets.REACT_APP_GASLESS_BACKEND_ADDRESS }}
REACT_APP_GTM_ID=${{ secrets.REACT_APP_GTM_ID_TAMAGOCHI_BATTLE }}
deploy-to-k8s:
needs: [prepair, build-and-push-image]
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/Release-varaman.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ jobs:
VITE_CONTRACT_ADDRESS=${{ secrets.VITE_CONTRACT_ADDRESS_VARA_MAN }}
VITE_SENTRY_DSN=${{ secrets.REACT_SENTRY_DSN_VARA_MAN }}
VITE_GASLESS_BACKEND_ADDRESS=${{ secrets.VITE_GASLESS_BACKEND_ADDRESS_VARA_MAN }}
VITE_GTM_ID=${{ secrets.VITE_GTM_ID_VARA_MAN }}
deploy-to-k8s:
needs: [prepair, build-and-push-image]
Expand Down
6 changes: 4 additions & 2 deletions frontend/apps/battleship/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,14 @@ RUN apk add xsel
ARG VITE_NODE_ADDRESS \
VITE_CONTRACT_ADDRESS \
VITE_SENTRY_DSN \
VITE_GASLESS_BACKEND_ADDRESS
VITE_GASLESS_BACKEND_ADDRESS \
VITE_GTM_ID

ENV VITE_NODE_ADDRESS=${VITE_NODE_ADDRESS} \
VITE_CONTRACT_ADDRESS=${VITE_CONTRACT_ADDRESS} \
VITE_SENTRY_DSN=${VITE_SENTRY_DSN} \
VITE_GASLESS_BACKEND_ADDRESS=${VITE_GASLESS_BACKEND_ADDRESS}
VITE_GASLESS_BACKEND_ADDRESS=${VITE_GASLESS_BACKEND_ADDRESS} \
VITE_GTM_ID=${VITE_GTM_ID}

WORKDIR /frontend/apps/battleship

Expand Down
4 changes: 3 additions & 1 deletion frontend/apps/galactic-express/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,12 @@ RUN apk add xsel

ARG REACT_APP_NODE_ADDRESS \
REACT_APP_CONTRACT_ADDRESS \
REACT_APP_SENTRY_DSN
REACT_APP_SENTRY_DSN \
REACT_APP_GTM_ID
ENV REACT_APP_NODE_ADDRESS=${REACT_APP_NODE_ADDRESS} \
REACT_APP_CONTRACT_ADDRESS=${REACT_APP_CONTRACT_ADDRESS} \
REACT_APP_SENTRY_DSN=${REACT_APP_SENTRY_DSN} \
REACT_APP_GTM_ID=${REACT_APP_GTM_ID} \
DISABLE_ESLINT_PLUGIN=true

WORKDIR /frontend/apps/galactic-express
Expand Down
4 changes: 3 additions & 1 deletion frontend/apps/tamagotchi-battle/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,13 @@ RUN apk add xsel
ARG REACT_APP_CONTRACT_ADDRESS \
REACT_APP_NODE_ADDRESS \
REACT_APP_SENTRY_DSN \
REACT_APP_GASLESS_BACKEND_ADDRESS
REACT_APP_GASLESS_BACKEND_ADDRESS \
REACT_APP_GTM_ID
ENV REACT_APP_NODE_ADDRESS=${REACT_APP_NODE_ADDRESS} \
REACT_APP_CONTRACT_ADDRESS=${REACT_APP_CONTRACT_ADDRESS} \
REACT_APP_GASLESS_BACKEND_ADDRESS=${REACT_APP_GASLESS_BACKEND_ADDRESS} \
REACT_APP_SENTRY_DSN=${REACT_APP_SENTRY_DSN} \
REACT_APP_GTM_ID=${REACT_APP_GTM_ID} \
DISABLE_ESLINT_PLUGIN=true

WORKDIR /frontend/apps/tamagotchi-battle
Expand Down
4 changes: 3 additions & 1 deletion frontend/apps/vara-man/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,14 @@ RUN apk add xsel
ARG VITE_NODE_ADDRESS \
VITE_CONTRACT_ADDRESS \
VITE_SENTRY_DSN \
VITE_GASLESS_BACKEND_ADDRESS
VITE_GASLESS_BACKEND_ADDRESS \
VITE_GTM_ID

ENV VITE_NODE_ADDRESS=${VITE_NODE_ADDRESS} \
VITE_CONTRACT_ADDRESS=${VITE_CONTRACT_ADDRESS} \
VITE_SENTRY_DSN=${VITE_SENTRY_DSN} \
VITE_GASLESS_BACKEND_ADDRESS=${VITE_GASLESS_BACKEND_ADDRESS} \
VITE_GTM_ID=${VITE_GTM_ID} \
DISABLE_ESLINT_PLUGIN=true

WORKDIR /frontend/apps/vara-man
Expand Down

0 comments on commit 41567b7

Please sign in to comment.