Skip to content

Commit acf9538

Browse files
authored
Update setup-runner.yml
1 parent 1acee34 commit acf9538

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

.github/workflows/setup-runner.yml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -27,19 +27,10 @@ jobs:
2727
- name: Terraform Init
2828
run: terraform init
2929

30-
# Plan Terraform changes
31-
- name: Terraform Plan
32-
run: terraform plan -out=tfplan
33-
3430
# Apply Terraform changes
3531
- name: Terraform Apply
3632
if: github.ref == 'refs/heads/main'
37-
run: terraform apply -auto-approve tfplan
38-
39-
# Destroy infrastructure (optional step, typically used for PRs)
40-
- name: Terraform Destroy
41-
if: github.event_name == 'pull_request' && github.event.action == 'closed'
42-
run: terraform destroy -auto-approve
33+
run: terraform apply -auto-approve
4334

4435
# Securely pass variables for sensitive information
4536
- name: Set Environment Variables

0 commit comments

Comments
 (0)