Skip to content

Commit

Permalink
retry
Browse files Browse the repository at this point in the history
  • Loading branch information
Tschonti committed May 4, 2024
1 parent 85f225a commit f6c9bf6
Showing 1 changed file with 27 additions and 26 deletions.
53 changes: 27 additions & 26 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,41 +4,42 @@ on:
push:
branches:
- master
- deploy-attempts

jobs:
# terraform:
# name: Setup infrastructure in Azure with Terraform
# defaults:
# run:
# working-directory: 'infra'
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - uses: hashicorp/setup-terraform@v3
# with:
# cli_config_credentials_token: ${{ secrets.TF_API_TOKEN }}
terraform:
name: Setup infrastructure in Azure with Terraform
defaults:
run:
working-directory: 'infra'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: hashicorp/setup-terraform@v3
with:
cli_config_credentials_token: ${{ secrets.TF_API_TOKEN }}

# - name: Terraform fmt
# id: fmt
# run: terraform fmt -check
# continue-on-error: true
- name: Terraform fmt
id: fmt
run: terraform fmt -check
continue-on-error: true

# - name: Terraform Init
# id: init
# run: terraform init
- name: Terraform Init
id: init
run: terraform init

# - name: Terraform Validate
# id: validate
# run: terraform validate -no-color
- name: Terraform Validate
id: validate
run: terraform validate -no-color

# - name: Terraform Apply
# id: apply
# run: terraform apply -no-color -auto-approve
# continue-on-error: true
- name: Terraform Apply
id: apply
run: terraform apply -no-color -auto-approve
continue-on-error: true

deploy_fa:
name: Deploy backend code to Azure Function App
# needs: terraform
needs: terraform
runs-on: ubuntu-latest
steps:
- name: 'Checkout GitHub Action'
Expand Down

0 comments on commit f6c9bf6

Please sign in to comment.