removed apply action for pull request
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
15
.drone.yml
15
.drone.yml
@@ -35,21 +35,6 @@ steps:
|
||||
event:
|
||||
- pull_request
|
||||
|
||||
- name: terraform apply for pull request
|
||||
image: hashicorp/terraform:1.5
|
||||
commands:
|
||||
- terraform -chdir=infrastructure validate
|
||||
- terraform -chdir=infrastructure plan -out tfapply
|
||||
- terraform -chdir=infrastructure apply -auto-approve tfapply
|
||||
environment:
|
||||
TF_VAR_virtual_environment_endpoint:
|
||||
from_secret: virtual_environment_endpoint
|
||||
TF_VAR_virtual_environment_api_token:
|
||||
from_secret: virtual_environment_api_token
|
||||
when:
|
||||
event:
|
||||
- pull_request
|
||||
|
||||
- name: Terraform infrastructure syntax check
|
||||
image: hashicorp/terraform:1.5
|
||||
commands:
|
||||
|
||||
Reference in New Issue
Block a user