Update .gitlab-ci.yml file
This commit is contained in:
parent
41cb325e94
commit
64593125b7
1 changed files with 2 additions and 4 deletions
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue