From 64593125b761049768b0a38ca5614ddc212c0e8a Mon Sep 17 00:00:00 2001 From: Russell Ballestrini Date: Fri, 10 Jan 2025 12:18:34 +0000 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 13f5700..c7eb361 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -51,9 +51,7 @@ deploy: stage: deploy needs: [build] rules: - - if: '$CI_COMMIT_BRANCH == "develop"' - when: on_success - - if: '$CI_COMMIT_BRANCH == "master"' + - if: '$CI_COMMIT_BRANCH == "develop" || $CI_COMMIT_BRANCH == "master" || $CI_COMMIT_BRANCH == "main"' when: on_success trigger: - include: .gitlab-ci.deploy.yml + include: .gitlab-ci.deploy.yml \ No newline at end of file