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