Skip to content

Commit

Permalink
feat: add google analytics on beta deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
paring-chan committed May 17, 2023
1 parent 335b2eb commit 915da3a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/deploy-beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ jobs:
OPENGRAPH_ENDPOINT=${{ secrets.STAGING_OPENGRAPH_ENDPOINT }}
DISCORD_INVITE=https://discord.gg/adofaigg
SUPPORT_MAIL=support@adofai.gg
GTM_ID=GTM-WDQRN9M
GA_ID=G-3BKXMVNJYQ
- name: Send update signal to kubernetes
run: bash ./deploy/staging/deploy-beta.sh
env:
Expand Down
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@ ARG API_ENDPOINT
ARG OPENGRAPH_ENDPOINT
ARG DISCORD_INVITE
ARG SUPPORT_MAIL
ARG GTM_ID
ARG GA_ID

RUN VITE_API_ENDPOINT=${API_ENDPOINT} VITE_OPENGRAPH_ENDPOINT=${OPENGRAPH_ENDPOINT} VITE_DISCORD_INVITE=${DISCORD_INVITE} VITE_SUPPORT_MAIL=${SUPPORT_MAIL} yarn build
RUN VITE_API_ENDPOINT=${API_ENDPOINT} VITE_OPENGRAPH_ENDPOINT=${OPENGRAPH_ENDPOINT} VITE_DISCORD_INVITE=${DISCORD_INVITE} VITE_SUPPORT_MAIL=${SUPPORT_MAIL} VITE_GTM_ID=${GTM_ID} VITE_GA_ID=${GA_ID} yarn build

RUN apk add jq

Expand Down

0 comments on commit 915da3a

Please sign in to comment.