fix: workflow typo
This commit is contained in:
parent
e21934002f
commit
58fb47a55e
|
|
@ -1,5 +1,4 @@
|
||||||
name: Lxc Creation
|
name: Lxc Creation
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
|
|
@ -17,17 +16,17 @@ jobs:
|
||||||
|
|
||||||
- name: Terraform Init
|
- name: Terraform Init
|
||||||
run: terraform init
|
run: terraform init
|
||||||
working-directory: ./terrafrom
|
working-directory: ./terraform
|
||||||
|
|
||||||
- name: Terraform Plan
|
- name: Terraform Plan
|
||||||
run: terraform plan
|
run: terraform plan
|
||||||
working-directory: ./terrafrom
|
working-directory: ./terraform
|
||||||
env:
|
env:
|
||||||
TF_VAR_pm_api_token_secret: ${{ secrets.PM_API_TOKEN_SECRET }}
|
TF_VAR_pm_api_token_secret: ${{ secrets.PM_API_TOKEN_SECRET }}
|
||||||
|
|
||||||
- name: Terraform Apply
|
- name: Terraform Apply
|
||||||
if: github.ref == 'refs/heads/main'
|
if: forgejo.ref_name == 'main'
|
||||||
run: terraform apply -auto-approve
|
run: terraform apply -auto-approve
|
||||||
working-directory: ./terrafrom
|
working-directory: ./terraform
|
||||||
env:
|
env:
|
||||||
TF_VAR_pm_api_token_secret: ${{ secrets.PM_API_TOKEN_SECRET }}
|
TF_VAR_pm_api_token_secret: ${{ secrets.PM_API_TOKEN_SECRET }}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue