Update .gitlab-ci.yml file

This commit is contained in:
Russell Ballestrini 2022-06-06 18:34:22 +00:00
parent 18cae142ea
commit 8b7c89f222

View file

@ -2,6 +2,7 @@ stages:
- test
- build
- memopoly.com
- my.makepostsell.com
test:
stage: test
@ -37,15 +38,6 @@ build:
- commit-hash.txt
#expire_in: 1 month
my.makepostsell.com:
stage: my.makepostsell.com
tags: ["my.makepostsell.com"]
script:
# publish build to Salt Master
- sudo /opt/salt-call-state-highstate.sh
rules:
- if: '$CI_COMMIT_BRANCH == "master"'
memopoly.com:
stage: memopoly.com
tags: ["memopoly.com"]
@ -53,4 +45,14 @@ memopoly.com:
# publish build to Salt Master
- sudo /opt/salt-call-state-highstate.sh
rules:
- if: '$CI_COMMIT_BRANCH == "develop"'
- if: '$CI_COMMIT_BRANCH == "develop"'
my.makepostsell.com:
stage: my.makepostsell.com
tags: ["my.makepostsell.com"]
script:
# publish build to Salt Master
- sudo /opt/salt-call-state-highstate.sh
rules:
- if: '$CI_COMMIT_BRANCH == "master"'