From 149104044ca281c6f1c6c3ed1287e1c88947857f Mon Sep 17 00:00:00 2001 From: jurgenhaas <juergen@paragon-es.de> Date: Wed, 30 Dec 2020 14:24:15 +0100 Subject: [PATCH] gitlab-ci-cd/drupal#1 Fix test for commit message --- test-and-deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test-and-deploy.yml b/test-and-deploy.yml index c6982c7..5c4b8bf 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" -- GitLab