add condition for broadcast server
This commit is contained in:
parent
227930cb33
commit
41383e2a47
1 changed files with 9 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue