Update .gitlab-ci.yml

This commit is contained in:
Russell Ballestrini 2025-03-31 13:51:56 +00:00
parent 11c109d8d4
commit ce3e350e17

View file

@ -1,6 +1,6 @@
stages:
- build
- www.remarkbox.com
- deploy
build:
stage: build
@ -20,11 +20,11 @@ build:
- commit-hash.txt
expire_in: 1 month
www.remarkbox.com:
stage: www.remarkbox.com
tags: ["www.remarkbox.com"]
script:
# publish build to Salt Master
- sudo /opt/salt-call-state-highstate.sh
deploy:
stage: deploy
needs: [build]
rules:
- if: '$CI_COMMIT_BRANCH == "master"'
- if: '$CI_COMMIT_BRANCH == "develop" || $CI_COMMIT_BRANCH == "master" || $CI_COMMIT_BRANCH == "main"'
when: on_success
trigger:
include: .gitlab-ci.deploy.yml