From 094d80896a323db1bdddac722e8e7e9900af92c1 Mon Sep 17 00:00:00 2001 From: ab Date: Tue, 16 Sep 2025 12:29:20 +0000 Subject: [PATCH] Add .gitea/workflows/authentik-apps.yaml --- .gitea/workflows/authentik-apps.yaml | 40 ++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 .gitea/workflows/authentik-apps.yaml diff --git a/.gitea/workflows/authentik-apps.yaml b/.gitea/workflows/authentik-apps.yaml new file mode 100644 index 0000000..f3619d4 --- /dev/null +++ b/.gitea/workflows/authentik-apps.yaml @@ -0,0 +1,40 @@ +name: 'Terraform' + +on: + push: + branches: [ "main" ] + pull_request: + +permissions: + contents: read + +jobs: + terraform: + name: 'Terraform' + runs-on: ubuntu-latest + environment: production + + defaults: + run: + shell: bash + + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: Setup Terraform + uses: hashicorp/setup-terraform@v2 + with: + cli_config_credentials_token: ${{ secrets.TF_API_TOKEN }} + + - name: Terraform Init + run: terraform init + + - name: Terraform Format + run: terraform fmt -check + continue-on-error: true + + - name: Terraform Apply + run: terraform apply -var-file proxy-apps.tfvars -var-file oauth2-apps.tfvars -var-file terraform.tfvars -var-file groups.tfvars -input=false -auto-approve -parallelism=100 + working-directory: ./terraform/authentik +