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:
|
stages:
|
||||||
- build
|
- build
|
||||||
- trigger-deploy
|
- deploy
|
||||||
|
|
||||||
build:
|
build:
|
||||||
stage: build
|
stage: build
|
||||||
|
|
@ -26,10 +26,12 @@ build:
|
||||||
- commit-hash.txt
|
- commit-hash.txt
|
||||||
expire_in: 1 month
|
expire_in: 1 month
|
||||||
|
|
||||||
trigger_deploy:
|
deploy_to_ingress:
|
||||||
stage: trigger-deploy
|
stage: deploy
|
||||||
trigger:
|
tags: ["proxy.uncloseai.com"]
|
||||||
include:
|
needs: [build]
|
||||||
- local: .gitlab-ci-deploy.yml
|
script:
|
||||||
|
- tar -xzf russell.ballestrini.net.tar.gz
|
||||||
|
- sudo /usr/local/bin/deploy-www.sh russell-ballestrini russell.ballestrini.net
|
||||||
rules:
|
rules:
|
||||||
- if: '$CI_COMMIT_BRANCH == "master"'
|
- if: '$CI_COMMIT_BRANCH == "master"'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue