chore: entrypoint env reorder

This commit is contained in:
Winston Smith 2023-11-21 12:02:47 +01:00
parent ae4fef2b5a
commit 8e15cfe0e2

View File

@ -3,17 +3,17 @@ source /opt/jekyll/.env
export AUTHOR_EMAIL=$AUTHOR_EMAIL export AUTHOR_EMAIL=$AUTHOR_EMAIL
export BLOG_NAME=$BLOG_NAME export BLOG_NAME=$BLOG_NAME
export BASE_URL=$BASE_URL export BASE_URL=$BASE_URL
export URL=$URL export GEM_HOME="/usr/local/bundle"
export GITHUB_USERNAME=$GITHUB_USERNAME export GITHUB_USERNAME=$GITHUB_USERNAME
export LIVERELOAD_PORT=$LIVERELOAD_PORT
export HOST_URL=$HOST_URL export HOST_URL=$HOST_URL
export LIVERELOAD_PORT=$LIVERELOAD_PORT
export PATH="$GEM_HOME/bin:$GEM_HOME/gems/bin:$PATH"
export SITE_PATH="/app/jekyll/$BLOG_NAME"
export SITE_TITLE=$SITE_TITLE export SITE_TITLE=$SITE_TITLE
export THEME=$THEME export THEME=$THEME
export TWITTER_USERNAME=$TWITTER_USERNAME export TWITTER_USERNAME=$TWITTER_USERNAME
export WWW_PORT=$WWW_PORT export WWW_PORT=$WWW_PORT
export GEM_HOME="/usr/local/bundle" export URL=$URL
export PATH="$GEM_HOME/bin:$GEM_HOME/gems/bin:$PATH"
export SITE_PATH="/app/jekyll/$BLOG_NAME"
update_config() { update_config() {
for ENV_VAR in 'AUTHOR_EMAIL' 'BASE_URL' 'GITHUB_USERNAME' \ for ENV_VAR in 'AUTHOR_EMAIL' 'BASE_URL' 'GITHUB_USERNAME' \