diff --git a/40-create-ghcred.sh b/40-create-ghcred.sh index 5e67b12..bf61eec 100755 --- a/40-create-ghcred.sh +++ b/40-create-ghcred.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#/bin/sh # Set default value for VUE_APP_PUBLIC_PATH if not provided # Get VUE_APP_PUBLIC_PATH from Docker endpoint @@ -22,10 +22,9 @@ ln -s /usr/share/nginx/html /usr/share/nginx/html/"$VUE_APP_PUBLIC_PATH" sed -i "s+/myAppPlaceholder+$VUE_APP_PUBLIC_PATH+g" /usr/share/nginx/html/index.html sed -i "s+/myAppPlaceholder+$VUE_APP_PUBLIC_PATH+g" /usr/share/nginx/html/js/app.*.js -Create nginx config from environment variables -# *prevent envsubst from killing nginx vars with 'tr' and '@'* +# create nginx config from evironment# *prevent envsubst from killing nginx vars with 'tr' and '@'* cat </GH_OAUTH_CLIENT.conf set @CLIENT_ID $CLIENT_ID; set @CLIENT_SECRET $CLIENT_SECRET; set @CALL_BACK $CALL_BACK; -EOT +