mirror of
https://github.com/sidpalas/devops-directive-terraform-course.git
synced 2025-12-10 12:51:14 +00:00
add tf apply step
This commit is contained in:
6
.github/workflows/terraform.yml
vendored
6
.github/workflows/terraform.yml
vendored
@@ -70,6 +70,6 @@ jobs:
|
||||
if: steps.plan.outcome == 'failure'
|
||||
run: exit 1
|
||||
|
||||
# - name: Terraform Apply
|
||||
# if: github.ref == 'refs/heads/main' && github.event_name == 'push'
|
||||
# run: terraform apply -auto-approve
|
||||
- name: Terraform Apply
|
||||
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
|
||||
run: terraform apply -auto-approve
|
||||
Reference in New Issue
Block a user