Update .gitlab-ci.yml file
This commit is contained in:
parent
42d6750cca
commit
e1a8e008e1
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ publish:
|
|||
rules:
|
||||
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
|
||||
when: never
|
||||
- if: '$CI_COMMIT_BRANCH == "master"'
|
||||
- if: '$CI_COMMIT_BRANCH == "main"'
|
||||
when: on_success
|
||||
# - if: '$CI_PIPELINE_SOURCE == "push"'
|
||||
# when: never # Prevent pipeline run for push event
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue