Child pipeline fixes race condition.

new file:   .gitlab-ci.deploy.yml
	modified:   .gitlab-ci.yml
This commit is contained in:
Russell Ballestrini 2022-06-21 14:34:23 -04:00
parent 2925230de2
commit feb32bb2e2
2 changed files with 17 additions and 10 deletions

11
.gitlab-ci.deploy.yml Normal file
View file

@ -0,0 +1,11 @@
stages:
- my.remarkbox.com
my.remarkbox.com:
stage: my.remarkbox.com
tags: ["my.remarkbox.com"]
script:
# publish build to Salt Master
- sudo /opt/salt-call-state-highstate.sh
rules:
- if: '$CI_COMMIT_BRANCH == "main"'