Skip to content

Commit

Permalink
Update maintf.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ZinxValkyria authored Mar 4, 2024
1 parent 62e55cb commit 28b477e
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions .github/workflows/maintf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,13 @@ on:
permissions: write-all

jobs:
infra:
# terraform
name: Terraform Init
uses: ./.github/workflows/terraform-init.yml
secrets: inherit

format_and_plan:
name: Format and Plan Infra
uses: ./.github/workflows/terraform-init.yml
secrets: inherit

apply:
name: Terraform Apply
uses: ./.github/workflows/apply.yml
needs: [/]
secrets: inherit

destroy:
name: Terraform Destroy
uses: ./.github/workflows/destroy.yml
needs: [apply]
secrets: inherit

0 comments on commit 28b477e

Please sign in to comment.