Update .gitlab-ci.yml

This commit is contained in:
Russell Ballestrini 2025-03-02 21:35:16 +00:00
parent 20caa87419
commit e9b8131dc1

View file

@ -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