remarkbox/.gitlab-ci.deploy.yml

14 lines
394 B
YAML

# 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"]
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"'