diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 87ec83d..a0e670a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -26,7 +26,7 @@ deploy-dev: tags: - dev rules: - - if: '$CI_COMMIT_BRANCH == "master"' + - if: '$CI_COMMIT_BRANCH == "main"' when: on_success - if: '$CI_PIPELINE_SOURCE != "merge_request_event"' when: manual @@ -40,7 +40,7 @@ deploy-prod: tags: - prod only: - - master + - main when: manual script: - docker stack deploy --with-registry-auth -c ./.deploy/deploy-prod.yaml platform