Skip to content

Commit

Permalink
fix: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
eugbyte committed Sep 8, 2024
1 parent aa3f23c commit 9c36f5f
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,16 @@ jobs:
- name: Set up Terraform
uses: hashicorp/setup-terraform@v3
- name: Terraform validate and plan
run: |
az --version
cd infra/Terraform
terraform init
terraform validate
terraform plan
uses: azure/cli@v2
with:
azcliversion: latest
inlineScript: |
az --version
az login
cd infra/Terraform
terraform init
terraform validate
terraform plan
# Apply step can be skipped for pull requests
- name: Terraform apply
if: github.ref == 'refs/heads/main'
Expand Down

0 comments on commit 9c36f5f

Please sign in to comment.