Compare commits
No commits in common. "e6693536383b996490637117dbe51a88cc9d036b" and "3b6cda41371b178733f98ac3f982e794cdb709b3" have entirely different histories.
e669353638
...
3b6cda4137
@ -1,44 +0,0 @@
|
|||||||
name: Gitea Actions Demo
|
|
||||||
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- master
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
terraform:
|
|
||||||
name: "Terraform Apply"
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
permissions:
|
|
||||||
contents: read
|
|
||||||
pull-requests: write
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout repository
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Set up Terraform
|
|
||||||
uses: hashicorp/setup-terraform@v2
|
|
||||||
with:
|
|
||||||
terraform_version: 1.6.6
|
|
||||||
|
|
||||||
- name: Inject sensitive secrets
|
|
||||||
working-directory: terraform
|
|
||||||
run: |
|
|
||||||
echo 'proxmox_password = "${{ secrets.PROXMOX_PASSWORD }}"' >> terraform.tfvars
|
|
||||||
|
|
||||||
- name: Terraform Init
|
|
||||||
working-directory: terraform
|
|
||||||
run: terraform init
|
|
||||||
|
|
||||||
|
|
||||||
- name: Terraform Plan
|
|
||||||
working-directory: terraform
|
|
||||||
run: terraform plan
|
|
||||||
|
|
||||||
- name: Terraform Plan
|
|
||||||
working-directory: terraform
|
|
||||||
run: terraform apply
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user