feat: display current env vars

This commit is contained in:
Winston Smith 2024-01-08 22:19:10 +01:00
parent cf76d23b16
commit 1f9c311b6c
No known key found for this signature in database
GPG Key ID: DFD784DB2A6F7A07

View File

@ -15,6 +15,22 @@ export TWITTER_USERNAME=$TWITTER_USERNAME
export WWW_PORT=$WWW_PORT
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() {
for ENV_VAR in 'AUTHOR_EMAIL' 'BASE_URL' 'GITHUB_USERNAME' \
'SITE_TITLE' 'THEME' 'TWITTER_USERNAME' 'URL'; do