Files
infra-meraki-config/.gitea/workflows/deploy.yml
Workflow config file is invalid. Please check your config file: yaml: line 4: did not find expected '-' indicator
Renovate [BOT] 49813bddf6
Some checks failed
CI / ci (pull_request) Failing after 35s
Update actions/checkout action to v4.3.0
2025-08-11 11:06:34 +00:00

38 lines
707 B
YAML

name: Deploy
on:
push:
branches:
- main
paths:
- tf/**
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4.3.0
- name: Setup OpenTofu
uses: opentofu/setup-opentofu@v1
- name: OpenTofu init
id: init
run: tofu init
- name: OpenTofu validate
id: validate
run: tofu validate -no-color
- name: OpenTofu refresh
id: validate
run: tofu refresh
- name: OpenTofu plan
id: plan
run: tofu plan -no-color -out /tmp/plan.tfplan
- name: OpenTofu apply
id: apply
run: tofu apply /tmp/plan.tfplan