add condition for broadcast server

This commit is contained in:
spengreb 2023-01-23 21:15:26 +01:00
parent 227930cb33
commit 41383e2a47

View file

@ -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