Update .gitlab-ci.yml file

This commit is contained in:
Russell Ballestrini 2022-06-07 12:36:40 +00:00
parent 7860ab76fa
commit 56f78e287e

View file

@ -1,6 +1,7 @@
stages:
- test
- build
- my.remarkbox.com
test:
stage: test
@ -45,3 +46,13 @@ build:
- static.tar.gz
- commit-hash.txt
expire_in: 1 month
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"'