new file: .gitlab-ci.deploy.yml

modified:   .gitlab-ci.yml
This commit is contained in:
Russell Ballestrini 2025-03-03 15:37:39 -05:00
parent 1acbaa16b0
commit 744878f41d
2 changed files with 24 additions and 10 deletions

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

@ -0,0 +1,16 @@
# We MUST have a separate pipeline otherwise the artifacts are stale!
# this is why we use an include file instead of a single file!
stages:
- deploy
my.remarkbox.com:
stage: deploy
tags: ["my.remarkbox.com"]
needs:
- build
script:
# deploy build via salt-call out to the salt-master for a highstate.
- sudo /opt/salt-call-state-highstate.sh
rules:
- if: '$CI_COMMIT_BRANCH == "main"'