Skip to content

Commit

Permalink
Fix env issue
Browse files Browse the repository at this point in the history
  • Loading branch information
teodorus-nathaniel committed Mar 21, 2024
1 parent 3b13296 commit 384339a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ jobs:
build-args: |
GH_GA_ID=G-TP1XEFNHQD
GH_APP_KIND=grill
GH_APP_ID=1
GH_HCAPTCHA_SITE_KEY=${{ secrets.PROD_HCAPTCHA_SITE_KEY }}
GH_AMP_ID=2eeca0e8a0163c89e3f023c971e426a6
GH_OFFCHAIN_SIGNER_URL=https://signer.subsocial.network
Expand All @@ -58,6 +57,7 @@ jobs:
GH_SERVER_MNEMONIC=${{ secrets.SERVER_MNEMONIC }}
GH_NEXT_PUBLIC_DATAHUB_QUERY_URL=https://sub-data-hub.subsocial.network/graphql
GH_NEXT_PUBLIC_DATAHUB_SUBSCRIPTION_URL=wss://sub-data-hub.subsocial.network/graphql-ws
GH_NEXT_PUBLIC_APP_ID=1
GH_DATAHUB_QUEUE_URL=https://sub-queue-data-hub.subsocial.network/graphql
GH_DATAHUB_QUEUE_TOKEN=${{ secrets.DATAHUB_QUEUE_TOKEN }}
# GH_NEXT_PUBLIC_ENABLE_MAINTENANCE_PAGE=true
Expand All @@ -78,7 +78,6 @@ jobs:
build-args: |
GH_GA_ID=fake
GH_APP_KIND=grill
GH_APP_ID=12364
GH_HCAPTCHA_SITE_KEY=3beeddac-2dce-41cc-8e18-338118426c38
GH_AMP_ID=71bf5a46800fedba5e9a01243b988164
GH_OFFCHAIN_SIGNER_URL=https://signer.subsocial.network
Expand All @@ -88,6 +87,7 @@ jobs:
GH_SERVER_MNEMONIC=plunge pumpkin penalty segment cattle more print below fat lemon clap uniform
GH_NEXT_PUBLIC_DATAHUB_QUERY_URL=https://notifications-data-hub.subsocial.network/graphql
GH_NEXT_PUBLIC_DATAHUB_SUBSCRIPTION_URL=wss://notifications-data-hub.subsocial.network/graphql-ws
GH_NEXT_PUBLIC_APP_ID=12364
GH_DATAHUB_QUEUE_URL=https://notifications-queue-data-hub.subsocial.network/graphql
GH_DATAHUB_QUEUE_TOKEN=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhZG1pbiI6dHJ1ZX0.jpXwkIJ4DpV4IvSI3eWVVXE6x89qr_GIq7IlbBv5YE0
# GH_NEXT_PUBLIC_ENABLE_MAINTENANCE_PAGE=true
Expand Down
2 changes: 1 addition & 1 deletion ci.env
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ NEXT_PUBLIC_APP_KIND=subsocial
NEXT_PUBLIC_CONNECTION_KIND='$GH_CONNECTION_KIND'
NEXT_PUBLIC_GA_ID='$GH_GA_ID'
NEXT_PUBLIC_APP_KIND='$GH_APP_KIND'
NEXT_PUBLIC_APP_ID='$GH_APP_ID'
NEXT_PUBLIC_APP_BASE_URL='$GH_APP_BASE_URL'
NEXT_PUBLIC_HCAPTCHA_SITE_KEY='$GH_HCAPTCHA_SITE_KEY'
NEXT_PUBLIC_OFFCHAIN_SIGNER_URL='$GH_OFFCHAIN_SIGNER_URL'
Expand All @@ -12,6 +11,7 @@ SELLER_CLIENT_ID='$GH_SELLER_CLIENT_ID'
SELLER_CLIENT_TOKEN_SIGNER='$GH_SELLER_TOKEN_SIGNER'
NEXT_PUBLIC_DATAHUB_QUERY_URL='GH_NEXT_PUBLIC_DATAHUB_QUERY_URL'
NEXT_PUBLIC_DATAHUB_SUBSCRIPTION_URL='GH_NEXT_PUBLIC_DATAHUB_SUBSCRIPTION_URL'
NEXT_PUBLIC_APP_ID='$GH_NEXT_PUBLIC_APP_ID'
DATAHUB_QUEUE_URL='GH_DATAHUB_QUEUE_URL'
DATAHUB_QUEUE_TOKEN='GH_DATAHUB_QUEUE_TOKEN'
SERVER_MNEMONIC='GH_SERVER_MNEMONIC'
Expand Down
5 changes: 4 additions & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ ARG GH_SELLER_CLIENT_ID
ARG GH_SELLER_TOKEN_SIGNER
ARG GH_NEXT_PUBLIC_DATAHUB_QUERY_URL
ARG GH_NEXT_PUBLIC_DATAHUB_SUBSCRIPTION_URL
ARG GH_NEXT_PUBLIC_APP_ID
ARG GH_DATAHUB_QUEUE_URL
ARG GH_DATAHUB_QUEUE_TOKEN
ARG GH_SERVER_MNEMONIC
ARG GH_NEXT_PUBLIC_ENABLE_MAINTENANCE_PAGE

ENV NEXT_PUBLIC_GA_ID=${GH_GA_ID} \
NEXT_PUBLIC_APP_KIND=${GH_APP_KIND} \
NEXT_PUBLIC_APP_ID=${GH_APP_ID} \
NEXT_PUBLIC_APP_BASE_URL=${GH_APP_BASE_URL} \
NEXT_PUBLIC_HCAPTCHA_SITE_KEY=${GH_HCAPTCHA_SITE_KEY} \
NEXT_PUBLIC_AMP_ID=${GH_AMP_ID} \
Expand All @@ -28,6 +28,7 @@ ENV NEXT_PUBLIC_GA_ID=${GH_GA_ID} \
SELLER_CLIENT_TOKEN_SIGNER=${GH_SELLER_TOKEN_SIGNER} \
NEXT_PUBLIC_DATAHUB_QUERY_URL=${GH_NEXT_PUBLIC_DATAHUB_QUERY_URL} \
NEXT_PUBLIC_DATAHUB_SUBSCRIPTION_URL=${GH_NEXT_PUBLIC_DATAHUB_SUBSCRIPTION_URL} \
NEXT_PUBLIC_APP_ID=${GH_NEXT_PUBLIC_APP_ID} \
DATAHUB_QUEUE_URL=${GH_DATAHUB_QUEUE_URL} \
DATAHUB_QUEUE_TOKEN=${GH_DATAHUB_QUEUE_TOKEN} \
SERVER_MNEMONIC=${GH_SERVER_MNEMONIC} \
Expand Down Expand Up @@ -57,6 +58,7 @@ ARG GH_SELLER_CLIENT_ID
ARG GH_SELLER_TOKEN_SIGNER
ARG GH_NEXT_PUBLIC_DATAHUB_QUERY_URL
ARG GH_NEXT_PUBLIC_DATAHUB_SUBSCRIPTION_URL
ARG GH_NEXT_PUBLIC_APP_ID
ARG GH_DATAHUB_QUEUE_URL
ARG GH_DATAHUB_QUEUE_TOKEN
ARG GH_SERVER_MNEMONIC
Expand All @@ -73,6 +75,7 @@ ENV NEXT_PUBLIC_GA_ID=${GH_GA_ID} \
SELLER_CLIENT_TOKEN_SIGNER=${GH_SELLER_TOKEN_SIGNER} \
NEXT_PUBLIC_DATAHUB_QUERY_URL=${GH_NEXT_PUBLIC_DATAHUB_QUERY_URL} \
NEXT_PUBLIC_DATAHUB_SUBSCRIPTION_URL=${GH_NEXT_PUBLIC_DATAHUB_SUBSCRIPTION_URL} \
NEXT_PUBLIC_APP_ID=${GH_NEXT_PUBLIC_APP_ID} \
DATAHUB_QUEUE_URL=${GH_DATAHUB_QUEUE_URL} \
DATAHUB_QUEUE_TOKEN=${GH_DATAHUB_QUEUE_TOKEN} \
SERVER_MNEMONIC=${GH_SERVER_MNEMONIC} \
Expand Down

0 comments on commit 384339a

Please sign in to comment.