main branch

This commit is contained in:
Administrator 2023-09-23 16:15:13 +03:00
parent 9e7fc7b4c1
commit f4c9a6ba66

View File

@ -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