diff --git a/test-and-deploy.yml b/test-and-deploy.yml index c6982c79ec535478ca2a08cba906f4642d9a002b..5c4b8bf6511b2b6ed39eef70c16f5b7dcd0dd703 100644 --- a/test-and-deploy.yml +++ b/test-and-deploy.yml @@ -58,7 +58,7 @@ stages: DBREQUIRED="no" if [[ "$CI_COMMIT_REF_NAME" == "master" ]]; then DBREQUIRED="yes" - elif [[ "$CI_COMMIT_REF_NAME" == *"[PULL_DB]"* ]]; then + elif [[ "$CI_COMMIT_MESSAGE" == *"[PULL_DB]"* ]]; then DBREQUIRED="yes" elif [[ "$PULL_DB" == "yes" ]]; then DBREQUIRED="yes"