diff --git a/.lagoon.yml b/.lagoon.yml index 5bf4a3671..994a2d5d9 100644 --- a/.lagoon.yml +++ b/.lagoon.yml @@ -47,7 +47,7 @@ tasks: # @see https://github.com/uselagoon/lagoon/issues/1922 # Explicitly set DB overwrite flag to the value from .env file for # deployments from the profile. - if [ "DREVOPS_PROVISION_USE_PROFILE" = "1" ]; then + if [ "${DREVOPS_PROVISION_USE_PROFILE}" = "1" ]; then export DREVOPS_PROVISION_OVERRIDE_DB="$(cat .env | grep ^DREVOPS_PROVISION_OVERRIDE_DB | cut -c31-)" fi ./scripts/drevops/provision.sh