fix: workflow typo
This commit is contained in:
parent
e21934002f
commit
58fb47a55e
|
|
@ -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 }}
|
||||
|
|
|
|||
Loading…
Reference in a new issue