feat: display current env vars
This commit is contained in:
parent
cf76d23b16
commit
1f9c311b6c
@ -15,6 +15,22 @@ export TWITTER_USERNAME=$TWITTER_USERNAME
|
|||||||
export WWW_PORT=$WWW_PORT
|
export WWW_PORT=$WWW_PORT
|
||||||
export URL=$URL
|
export URL=$URL
|
||||||
|
|
||||||
|
printf "🖙 Set values:
|
||||||
|
🖙 Author email: $AUTHOR_EMAIL
|
||||||
|
🖙 Blog name: $BLOG_NAME
|
||||||
|
🖙 Base URL: $BASE_URL
|
||||||
|
🖙 Github username: $GITHUB_USERNAME
|
||||||
|
🖙 Host URL: $HOST_URL
|
||||||
|
🖙 Jekyll environment: $JEKYLL_ENV
|
||||||
|
🖙 Live-reload port: $LIVERELOAD_PORT
|
||||||
|
🖙 Local site files path: $SITE_PATH
|
||||||
|
🖙 Site title: $SITE_TITLE
|
||||||
|
🖙 Current theme: $THEME
|
||||||
|
🖙 Xwitter username: $TWITTER_USERNAME
|
||||||
|
🖙 WWW port: $WWW_PORT
|
||||||
|
🖙 URL: $URL
|
||||||
|
"
|
||||||
|
|
||||||
update_config() {
|
update_config() {
|
||||||
for ENV_VAR in 'AUTHOR_EMAIL' 'BASE_URL' 'GITHUB_USERNAME' \
|
for ENV_VAR in 'AUTHOR_EMAIL' 'BASE_URL' 'GITHUB_USERNAME' \
|
||||||
'SITE_TITLE' 'THEME' 'TWITTER_USERNAME' 'URL'; do
|
'SITE_TITLE' 'THEME' 'TWITTER_USERNAME' 'URL'; do
|
||||||
|
Loading…
Reference in New Issue
Block a user