deploy via proxy.uncloseai.com runner (replace Salt)

This commit is contained in:
russell@unturf.com 2026-02-13 17:17:45 -05:00
parent 06e897e5a7
commit 60918eedba
2 changed files with 5 additions and 38 deletions

View file

@ -1,11 +0,0 @@
stages:
- deploy
www.makepostsell.com:
stage: deploy
tags: ["mps-router1"]
script:
# publish build to Salt Master
- sudo /opt/salt-call-state-highstate.sh
rules:
- if: '$CI_COMMIT_BRANCH == "master"'

View file

@ -1,32 +1,10 @@
stages:
- build
- deploy
build:
stage: build
tags: ["build"]
script:
#tar -zcvf www.makepostsell.com.tar.gz output
- rm -rf .git
- cd ..; tar -zcvf www.makepostsell.com.tar.gz www.makepostsell.com; mv www.makepostsell.com.tar.gz www.makepostsell.com; cd www.makepostsell.com
# create sha512 of www.makepostsell.com.tar.gz
- sha512sum www.makepostsell.com.tar.gz >> www.makepostsell.com.tar.gz.hash
# create commit-hash.txt to track this build's git commit hash.
- echo $CI_COMMIT_SHA >> commit-hash.txt
artifacts:
paths:
- www.makepostsell.com.tar.gz
- www.makepostsell.com.tar.gz.hash
- commit-hash.txt
#expire_in: 1 month
trigger_deploy:
deploy:
stage: deploy
trigger:
include:
- local: .gitlab-ci-deploy.yml
tags: ["proxy.uncloseai.com"]
script:
- sudo /usr/local/bin/deploy-www.sh makepostsell .
rules:
- if: '$CI_COMMIT_BRANCH == "master"'
- if: '$CI_COMMIT_BRANCH == "master" || $CI_COMMIT_BRANCH == "main"'