Update .gitlab-ci.yml
This commit is contained in:
parent
20caa87419
commit
e9b8131dc1
1 changed files with 19 additions and 6 deletions
|
|
@ -45,14 +45,27 @@ build:
|
|||
- commit-hash.txt
|
||||
expire_in: 1 month
|
||||
|
||||
deploy:
|
||||
|
||||
memopoly.com:
|
||||
stage: deploy
|
||||
needs: [build]
|
||||
tags: ["memopoly.com"]
|
||||
script:
|
||||
# publish build to Salt Master
|
||||
- sudo /opt/salt-call-state-highstate.sh
|
||||
rules:
|
||||
- if: '$CI_COMMIT_BRANCH == "develop" || $CI_COMMIT_BRANCH == "master" || $CI_COMMIT_BRANCH == "main"'
|
||||
when: on_success
|
||||
trigger:
|
||||
include: .gitlab-ci.deploy.yml
|
||||
- if: '$CI_COMMIT_BRANCH == "develop"'
|
||||
- if: '$CI_COMMIT_BRANCH == "master"'
|
||||
|
||||
|
||||
my.makepostsell.com:
|
||||
stage: deploy
|
||||
tags: ["my.makepostsell.com"]
|
||||
script:
|
||||
# publish build to Salt Master
|
||||
- sudo /opt/salt-call-state-highstate.sh
|
||||
rules:
|
||||
- if: '$CI_COMMIT_BRANCH == "master"'
|
||||
|
||||
|
||||
pypi-twine:
|
||||
stage: pypi-twine
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue