This commit is contained in:
emmatveev 2024-04-22 23:21:51 +03:00
parent f82f6e821c
commit ea27759d2f

View File

@ -24,7 +24,7 @@ deploy-dev:
tags:
- dev
rules:
- if: '$CI_COMMIT_BRANCH == "master"'
- if: '$CI_COMMIT_BRANCH == "main"'
when: on_success
- when: manual
script:
@ -37,7 +37,7 @@ deploy-prod:
tags:
- prod
only:
- master
- main
when: manual
script:
- docker stack deploy --with-registry-auth -c ./.deploy/deploy-prod.yaml roulette-bot