From 41383e2a47dc42e427e31a1820d8e19912eb40ca Mon Sep 17 00:00:00 2001 From: spengreb Date: Mon, 23 Jan 2023 21:15:26 +0100 Subject: [PATCH] add condition for broadcast server --- .gitlab-ci.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 048de67..a301792 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -38,7 +38,7 @@ tf-plan-public: paths: - plan.tfplan -tf-apply: +tf-apply-private: stage: tf-apply image: name: hashicorp/terraform @@ -50,8 +50,11 @@ tf-apply: script: - terraform init - terraform apply plan.tfplan + environment: + name: Just Jammin + url: https://ejam.vereto.net dependencies: - - tf-plan + - tf-plan-private when: manual only: - master @@ -68,8 +71,11 @@ tf-apply-public: script: - terraform init - terraform apply plan.tfplan + environment: + name: Public Jammin + url: https://ejam.vereto.net dependencies: - - tf-plan + - tf-plan-public when: manual only: - master