Skip to content

Commit

Permalink
ci: add env octopus explorer
Browse files Browse the repository at this point in the history
  • Loading branch information
ciniaeleonora authored and irmannmal committed Nov 22, 2022
1 parent 4255023 commit db7b858
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .env-template
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ VUE_APP_MIXPANEL_TOKEN=
VUE_APP_SENTRY_DSN=
VUE_APP_PINATA_GATEWAY=
VUE_APP_PINATA_JWT_KEY=
VUE_APP_PINATA_REQUIRED_DOCUMENT=
VUE_APP_PINATA_REQUIRED_DOCUMENT=
VUE_APP_OCTOPUS_EXPLORER=
1 change: 1 addition & 0 deletions .maintain/docker/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ JSON_STRING='window.configs = { \
"VUE_APP_PINATA_GATEWAY":"'"${VUE_APP_PINATA_GATEWAY}"'", \
"VUE_APP_PINATA_JWT_KEY":"'"${VUE_APP_PINATA_JWT_KEY}"'", \
"VUE_APP_PINATA_REQUIRED_DOCUMENT":"'"${VUE_APP_PINATA_REQUIRED_DOCUMENT}"'" \
"VUE_APP_OCTOPUS_EXPLORER":"'"${VUE_APP_OCTOPUS_EXPLORER}"'", \
}'

sed -i "s~// CONFIGURATIONS_PLACEHOLDER~${JSON_STRING}~" /usr/share/nginx/html/index.html
Expand Down

0 comments on commit db7b858

Please sign in to comment.