Skip to content

Commit

Permalink
chore: ci terraform
Browse files Browse the repository at this point in the history
  • Loading branch information
eugbyte committed Sep 8, 2024
1 parent 9c36f5f commit 78b822e
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,25 +60,17 @@ jobs:
node-version: '20.x'
- name: Regnerate Sqlite DB
run: make renegerate-sqlite
- name: Install azure cli
uses: azure/cli@v2
with:
azcliversion: latest
inlineScript: |
az login \
--service-principal \
--username ${{ secrets.AZURE_USERNAME }} \
--password ${{ secrets.AZURE_PASSWORD }} \
--tenant ${{ secrets.AZURE_TENANT }}
- name: Set up Terraform
uses: hashicorp/setup-terraform@v3
- name: Azure Login
uses: azure/login@v2
with:
creds: ${{ secrets.AZURE_CREDENTIALS }}
- name: Terraform validate and plan
uses: azure/cli@v2
with:
azcliversion: latest
inlineScript: |
az --version
az login
cd infra/Terraform
terraform init
terraform validate
Expand Down

0 comments on commit 78b822e

Please sign in to comment.