fix: ignore unbound variables when sourcing .env in all backup/DR scripts
All checks were successful
Deploy to Production / Build and Deploy (push) Successful in 2m35s
All checks were successful
Deploy to Production / Build and Deploy (push) Successful in 2m35s
This commit is contained in:
@@ -38,7 +38,9 @@ log_error() { echo -e "[Verify ${TIMESTAMP}] ${RED}❌ ERROR: $1${NC}"; }
|
||||
ENV_FILE="${PROJECT_ROOT}/.env"
|
||||
if [ -f "${ENV_FILE}" ]; then
|
||||
set -a
|
||||
set +u
|
||||
source "${ENV_FILE}"
|
||||
set -u
|
||||
set +a
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user