fix: workflow typo

This commit is contained in:
Haletran 2026-04-13 23:17:45 +02:00
parent e21934002f
commit 58fb47a55e

View file

@ -1,5 +1,4 @@
name: Lxc Creation
on:
workflow_dispatch:
@ -17,17 +16,17 @@ jobs:
- name: Terraform Init
run: terraform init
working-directory: ./terrafrom
working-directory: ./terraform
- name: Terraform Plan
run: terraform plan
working-directory: ./terrafrom
working-directory: ./terraform
env:
TF_VAR_pm_api_token_secret: ${{ secrets.PM_API_TOKEN_SECRET }}
- name: Terraform Apply
if: github.ref == 'refs/heads/main'
if: forgejo.ref_name == 'main'
run: terraform apply -auto-approve
working-directory: ./terrafrom
working-directory: ./terraform
env:
TF_VAR_pm_api_token_secret: ${{ secrets.PM_API_TOKEN_SECRET }}