From 1677c2ffee10d4598712767054471f468f298bff Mon Sep 17 00:00:00 2001 From: TonyFord <tonyford@strategy-investor.de> Date: Mon, 15 Nov 2021 13:17:41 +0100 Subject: [PATCH] add deploy/remove --- .gitlab-ci.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c2c6d7c..3d35758 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,6 +5,7 @@ stages: - jekyll_debug - stop - uninstall + - remove update: stage: update @@ -95,3 +96,18 @@ uninstall: - chmod +x ./setenv && . setenv script: - deploy/uninstall + +remove: + stage: remove + tags: + - tonyford + only: + refs: + - master + - main + variables: + - $CMD =~ /^remove$/ + before_script: + - chmod +x ./setenv && . setenv + script: + - deploy/remove -- GitLab