From 8e15cfe0e297bee35946acf1a30d2019e423474a Mon Sep 17 00:00:00 2001 From: Winston Smith Date: Tue, 21 Nov 2023 12:02:47 +0100 Subject: [PATCH] chore: entrypoint env reorder --- data/entrypoint.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/data/entrypoint.sh b/data/entrypoint.sh index fe00fc8..140eaa6 100755 --- a/data/entrypoint.sh +++ b/data/entrypoint.sh @@ -3,17 +3,17 @@ source /opt/jekyll/.env export AUTHOR_EMAIL=$AUTHOR_EMAIL export BLOG_NAME=$BLOG_NAME export BASE_URL=$BASE_URL -export URL=$URL +export GEM_HOME="/usr/local/bundle" export GITHUB_USERNAME=$GITHUB_USERNAME -export LIVERELOAD_PORT=$LIVERELOAD_PORT 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 THEME=$THEME export TWITTER_USERNAME=$TWITTER_USERNAME export WWW_PORT=$WWW_PORT -export GEM_HOME="/usr/local/bundle" -export PATH="$GEM_HOME/bin:$GEM_HOME/gems/bin:$PATH" -export SITE_PATH="/app/jekyll/$BLOG_NAME" +export URL=$URL update_config() { for ENV_VAR in 'AUTHOR_EMAIL' 'BASE_URL' 'GITHUB_USERNAME' \