fix(deploy): handle default values in script due to envsubst limitations
This commit is contained in:
2 files changed
+5
-3
No files matched your search
@@ -1,6 +1,6 @@
|
||||
# Docker Image Tags
|
||||
DOCS_TAG=${DOCS_TAG:-latest}
|
||||
WWW_TAG=${WWW_TAG:-latest}
|
||||
DOCS_TAG=$DOCS_TAG
|
||||
WWW_TAG=$WWW_TAG
|
||||
|
||||
# Application Settings
|
||||
DOMAIN=ermnvldmr.com
|
||||
DOMAIN=ermnvldmr.com
|
||||
@@ -14,6 +14,8 @@ fi
|
||||
|
||||
# Override with new tags provided via env (passed from GitHub)
|
||||
# The variables DOCS_TAG and WWW_TAG should already be in the environment
|
||||
export DOCS_TAG=${DOCS_TAG:-latest}
|
||||
export WWW_TAG=${WWW_TAG:-latest}
|
||||
|
||||
# Generate new .env from template
|
||||
echo "Generating .env from template..."
|
||||
|
||||
Reference in new issue
Block a user