From 4a365d8ffb41452dbcfa0becc2a662a90410d689 Mon Sep 17 00:00:00 2001 From: "russell@unturf.com" Date: Fri, 13 Feb 2026 17:17:42 -0500 Subject: [PATCH] deploy via proxy.uncloseai.com runner (replace Salt) --- .gitlab-ci.deploy.yml | 14 -------------- .gitlab-ci.yml | 28 ++++------------------------ 2 files changed, 4 insertions(+), 38 deletions(-) delete mode 100644 .gitlab-ci.deploy.yml diff --git a/.gitlab-ci.deploy.yml b/.gitlab-ci.deploy.yml deleted file mode 100644 index b8df762..0000000 --- a/.gitlab-ci.deploy.yml +++ /dev/null @@ -1,14 +0,0 @@ -# We MUST have a separate pipeline otherwise the artifacts are stale! -# this is why we use an include file instead of a single file! - -stages: - - deploy - -www.remarkbox.com: - stage: deploy - tags: ["www.remarkbox.com"] - script: - # publish build to Salt Master - - sudo /opt/salt-call-state-highstate.sh - rules: - - if: '$CI_COMMIT_BRANCH == "master"' diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e3bcd1a..4e7329d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,30 +1,10 @@ stages: - - build - deploy -build: - stage: build - tags: ["build"] - script: - - rm -rf .git - - cd ..; tar -zcvf www.remarkbox.com.tar.gz www.remarkbox.com; mv www.remarkbox.com.tar.gz www.remarkbox.com; cd www.remarkbox.com - # create sha512 of www.makepostsell.com.tar.gz - - sha512sum www.remarkbox.com.tar.gz >> www.remarkbox.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.remarkbox.com.tar.gz - - www.remarkbox.com.tar.gz.hash - - commit-hash.txt - expire_in: 1 month - deploy: stage: deploy - needs: [build] + tags: ["proxy.uncloseai.com"] + script: + - sudo /usr/local/bin/deploy-www.sh remarkbox . rules: - - if: '$CI_COMMIT_BRANCH == "develop" || $CI_COMMIT_BRANCH == "master" || $CI_COMMIT_BRANCH == "main"' - when: on_success - trigger: - include: .gitlab-ci.deploy.yml + - if: '$CI_COMMIT_BRANCH == "master" || $CI_COMMIT_BRANCH == "main"'