diff --git a/test-and-deploy.yml b/test-and-deploy.yml index fbca025aeaffd6bd7cae9aef6b78cbd8e8685c7d..90b95ffd4a8552e8a26e9c014b70d7e04bdbcd88 100644 --- a/test-and-deploy.yml +++ b/test-and-deploy.yml @@ -708,8 +708,11 @@ Debug: - EC=0 - grep "composer.lock" /tmp/test.log || EC=$? - if [[ $EC -ne 0 ]]; then exit 0; fi + - COMMITFLAGS="[SKIP_CONFIG_IMPORT]" + - if [[ "${SKIPREALEASE}" != "yes" ]]; then COMMITFLAGS="${COMMITFLAGS} [CREATE_RELEASE]"; fi + - if [[ "${USELIVEDB}" == "yes" ]]; then COMMITFLAGS="${COMMITFLAGS} [PULL_DB]"; fi - git add composer.lock - - git -c user.email=gitlab-runner@lakedrops.com -c user.name=GitLabCI commit -m "Updates recognized automatically [CREATE_RELEASE] [SKIP_CONFIG_IMPORT]" + - git -c user.email=gitlab-runner@lakedrops.com -c user.name=GitLabCI commit -m "Updates recognized automatically ${COMMITFLAGS}" - git push origin HEAD:$CI_COMMIT_REF_NAME only: variables: