Skip to content

Commit

Permalink
Add envs for contest
Browse files Browse the repository at this point in the history
  • Loading branch information
teodorus-nathaniel committed Jul 2, 2024
1 parent 5792128 commit b5d39b3
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ jobs:
GH_NEXT_PUBLIC_OFFCHAIN_POSTING_HUBS=12662
GH_NEXT_PUBLIC_SPACE_IDS=0xd25962422081e4086fbce5ae5b6232c6
GH_NEXT_PUBLIC_MAIN_CHAT_ID=0x22379846e332920ee808735a978c7008
GH_NEXT_PUBLIC_CONTEST_CHAT_ID=0x850f0f5c0c244eba16425a464b0becfc
GH_NEXT_PUBLIC_CONTEST_NAME="\$SRT MEME CONTEST"
GH_NEXT_PUBLIC_CONTEST_END_TIME=1720023760162
GH_NEXT_PUBLIC_AMP_ID=40d4174295c7edf657fc3bedf2748549
GH_NEXT_PUBLIC_COMMUNITY_HUB_ID=12455
GH_NEXT_PUBLIC_GA_ID=G-TP1XEFNHQD
Expand Down Expand Up @@ -107,6 +110,9 @@ jobs:
GH_NEXT_PUBLIC_APP_ID=0xa580866e85dc3f78346ab3131210064e
GH_NEXT_PUBLIC_SPACE_IDS=0xa580866e85dc3f78346ab3131210064e
GH_NEXT_PUBLIC_MAIN_CHAT_ID=0x6c975987eac223e03deae00f2f7fa8e8
GH_NEXT_PUBLIC_CONTEST_CHAT_ID=0x850f0f5c0c244eba16425a464b0becfc
GH_NEXT_PUBLIC_CONTEST_NAME="\$SRT MEME CONTEST"
GH_NEXT_PUBLIC_CONTEST_END_TIME=1720110160162
GH_NEXT_PUBLIC_TELEGRAM_NOTIFICATION_BOT=https://t.me/g_notif_staging_bot/
GH_TELEGRAM_BOT_TOKEN="7038999347:AAGBgXTWcXpR4vZPW9A8_ia9PkWOpeyDeWA"
# without base path
Expand Down
3 changes: 3 additions & 0 deletions ci.env
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ TELEGRAM_BOT_TOKEN='$GH_TELEGRAM_BOT_TOKEN'
SERVER_DISCUSSION_CREATOR_MNEMONIC='$GH_SERVER_DISCUSSION_CREATOR_MNEMONIC'
NEXT_PUBLIC_SPACE_IDS='$GH_NEXT_PUBLIC_SPACE_IDS'
NEXT_PUBLIC_MAIN_CHAT_ID='$GH_NEXT_PUBLIC_MAIN_CHAT_ID'
NEXT_PUBLIC_CONTEST_CHAT_ID='$GH_NEXT_PUBLIC_CONTEST_CHAT_ID'
NEXT_PUBLIC_CONTEST_NAME='$GH_NEXT_PUBLIC_CONTEST_NAME'
NEXT_PUBLIC_CONTEST_END_TIME='$GH_NEXT_PUBLIC_CONTEST_END_TIME'
NEXT_PUBLIC_BASE_PATH='$GH_NEXT_PUBLIC_BASE_PATH'
NEXT_PUBLIC_NEYNAR_CLIENT_ID='$GH_NEXT_PUBLIC_NEYNAR_CLIENT_ID'
NEXT_PUBLIC_TELEGRAM_BOT_ID='$GH_NEXT_PUBLIC_TELEGRAM_BOT_ID'
Expand Down
12 changes: 12 additions & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ ARG GH_NEXT_PUBLIC_OFFCHAIN_POSTING_HUBS
ARG GH_NEXT_PUBLIC_TELEGRAM_NOTIFICATION_BOT
ARG GH_NEXT_PUBLIC_SPACE_IDS
ARG GH_NEXT_PUBLIC_MAIN_CHAT_ID
ARG GH_NEXT_PUBLIC_CONTEST_CHAT_ID
ARG GH_NEXT_PUBLIC_CONTEST_NAME
ARG GH_NEXT_PUBLIC_CONTEST_END_TIME
ARG GH_NEXT_PUBLIC_BASE_PATH
ARG GH_NEXT_PUBLIC_NEYNAR_CLIENT_ID
ARG GH_NEXT_PUBLIC_TELEGRAM_BOT_ID
Expand All @@ -36,6 +39,9 @@ ARG GH_NEXT_PUBLIC_FIREBASE_APP_ID
ENV NEXTAUTH_URL=${GH_NEXTAUTH_URL} \
NEXT_PUBLIC_SPACE_IDS=${GH_NEXT_PUBLIC_SPACE_IDS} \
NEXT_PUBLIC_MAIN_CHAT_ID=${GH_NEXT_PUBLIC_MAIN_CHAT_ID} \
NEXT_PUBLIC_CONTEST_CHAT_ID=${GH_NEXT_PUBLIC_CONTEST_CHAT_ID} \
NEXT_PUBLIC_CONTEST_NAME=${GH_NEXT_PUBLIC_CONTEST_NAME} \
NEXT_PUBLIC_CONTEST_END_TIME=${GH_NEXT_PUBLIC_CONTEST_END_TIME} \
NEXT_PUBLIC_BASE_PATH=${GH_NEXT_PUBLIC_BASE_PATH} \
NEXT_PUBLIC_NEYNAR_CLIENT_ID=${GH_NEXT_PUBLIC_NEYNAR_CLIENT_ID} \
NEXT_PUBLIC_TELEGRAM_BOT_ID=${GH_NEXT_PUBLIC_TELEGRAM_BOT_ID} \
Expand Down Expand Up @@ -91,6 +97,9 @@ ARG GH_NEXT_PUBLIC_OFFCHAIN_POSTING_HUBS
ARG GH_NEXT_PUBLIC_TELEGRAM_NOTIFICATION_BOT
ARG GH_NEXT_PUBLIC_SPACE_IDS
ARG GH_NEXT_PUBLIC_MAIN_CHAT_ID
ARG GH_NEXT_PUBLIC_CONTEST_CHAT_ID
ARG GH_NEXT_PUBLIC_CONTEST_NAME
ARG GH_NEXT_PUBLIC_CONTEST_END_TIME
ARG GH_NEXT_PUBLIC_BASE_PATH
ARG GH_NEXT_PUBLIC_NEYNAR_CLIENT_ID
ARG GH_NEXT_PUBLIC_TELEGRAM_BOT_ID
Expand All @@ -116,6 +125,9 @@ ARG GH_NEXT_PUBLIC_FIREBASE_APP_ID
ENV NEXTAUTH_URL=${GH_NEXTAUTH_URL} \
NEXT_PUBLIC_SPACE_IDS=${GH_NEXT_PUBLIC_SPACE_IDS} \
NEXT_PUBLIC_MAIN_CHAT_ID=${GH_NEXT_PUBLIC_MAIN_CHAT_ID} \
NEXT_PUBLIC_CONTEST_CHAT_ID=${GH_NEXT_PUBLIC_CONTEST_CHAT_ID} \
NEXT_PUBLIC_CONTEST_NAME=${GH_NEXT_PUBLIC_CONTEST_NAME} \
NEXT_PUBLIC_CONTEST_END_TIME=${GH_NEXT_PUBLIC_CONTEST_END_TIME} \
NEXT_PUBLIC_BASE_PATH=${GH_NEXT_PUBLIC_BASE_PATH} \
NEXT_PUBLIC_NEYNAR_CLIENT_ID=${GH_NEXT_PUBLIC_NEYNAR_CLIENT_ID} \
NEXT_PUBLIC_TELEGRAM_BOT_ID=${GH_NEXT_PUBLIC_TELEGRAM_BOT_ID} \
Expand Down

0 comments on commit b5d39b3

Please sign in to comment.