fix deploys
new file: .gitlab-ci-deploy.yml modified: .gitlab-ci.yml lol vibe & slop coding. grok is primed to use russ because my name is russell new file: .gitlab-ci-deploy.yml modified: .gitlab-ci.yml
This commit is contained in:
parent
f46e8f1b53
commit
cb3e17469d
2 changed files with 19 additions and 7 deletions
|
|
@ -1,6 +1,6 @@
|
|||
stages:
|
||||
- build
|
||||
- russell.ballestrini.net
|
||||
- trigger-deploy
|
||||
|
||||
build:
|
||||
stage: build
|
||||
|
|
@ -31,11 +31,10 @@ build:
|
|||
- commit-hash.txt
|
||||
expire_in: 1 month
|
||||
|
||||
russell.ballestrini.net:
|
||||
stage: russell.ballestrini.net
|
||||
tags: ["russell.ballestrini.net"]
|
||||
script:
|
||||
# publish build to Salt Master
|
||||
- sudo /opt/salt-call-state-highstate.sh
|
||||
trigger_deploy:
|
||||
stage: trigger-deploy
|
||||
trigger:
|
||||
include:
|
||||
- file: .gitlab-ci-deploy.yml # Path to the child pipeline configuration
|
||||
rules:
|
||||
- if: '$CI_COMMIT_BRANCH == "master"'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue