deploy to ingress via deploy-www.sh on proxy.uncloseai.com runner
This commit is contained in:
parent
2d3bb7af75
commit
c0334ce5b3
1 changed files with 8 additions and 6 deletions
|
|
@ -1,6 +1,6 @@
|
|||
stages:
|
||||
- build
|
||||
- trigger-deploy
|
||||
- deploy
|
||||
|
||||
build:
|
||||
stage: build
|
||||
|
|
@ -26,10 +26,12 @@ build:
|
|||
- commit-hash.txt
|
||||
expire_in: 1 month
|
||||
|
||||
trigger_deploy:
|
||||
stage: trigger-deploy
|
||||
trigger:
|
||||
include:
|
||||
- local: .gitlab-ci-deploy.yml
|
||||
deploy_to_ingress:
|
||||
stage: deploy
|
||||
tags: ["proxy.uncloseai.com"]
|
||||
needs: [build]
|
||||
script:
|
||||
- tar -xzf russell.ballestrini.net.tar.gz
|
||||
- sudo /usr/local/bin/deploy-www.sh russell-ballestrini russell.ballestrini.net
|
||||
rules:
|
||||
- if: '$CI_COMMIT_BRANCH == "master"'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue