diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a301792..b2a1872 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -26,18 +26,6 @@ tf-plan-private: paths: - plan.tfplan -tf-plan-public: - stage: tf-plan - script: - - terraform init - - terraform plan -out plan.tfplan -var="broadcast_enabled=true" - environment: - name: Public Jammin - url: https://ejam.vereto.net - artifacts: - paths: - - plan.tfplan - tf-apply-private: stage: tf-apply image: @@ -59,6 +47,18 @@ tf-apply-private: only: - master +tf-plan-public: + stage: tf-plan + script: + - terraform init + - terraform plan -out plan.tfplan -var="broadcast_enabled=true" + environment: + name: Public Jammin + url: https://ejam.vereto.net + artifacts: + paths: + - plan.tfplan + tf-apply-public: stage: tf-apply image: @@ -91,8 +91,6 @@ tf-destroy: script: - terraform init - terraform destroy -auto-approve - dependencies: - - tf-plan when: manual only: - master