This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/checkout](https://github.com/actions/checkout) | action | patch | `v6.0.0` -> `v6.0.1` | --- ### Release Notes <details> <summary>actions/checkout (actions/checkout)</summary> ### [`v6.0.1`](https://github.com/actions/checkout/releases/tag/v6.0.1) [Compare Source](https://github.com/actions/checkout/compare/v6.0.0...v6.0.1) #### What's Changed - Update all references from v5 and v4 to v6 by [@​ericsciple](https://github.com/ericsciple) in [#​2314](https://github.com/actions/checkout/pull/2314) - Add worktree support for persist-credentials includeIf by [@​ericsciple](https://github.com/ericsciple) in [#​2327](https://github.com/actions/checkout/pull/2327) - Clarify v6 README by [@​ericsciple](https://github.com/ericsciple) in [#​2328](https://github.com/actions/checkout/pull/2328) **Full Changelog**: <https://github.com/actions/checkout/compare/v6...v6.0.1> </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi4zMC4xIiwidXBkYXRlZEluVmVyIjoiNDIuMzAuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsidHlwZS9kZXBlbmRlbmNpZXMiXX0=--> Reviewed-on: #11 Co-authored-by: renovate[bot] <renovate-bot@git.tainton.uk> Co-committed-by: renovate[bot] <renovate-bot@git.tainton.uk>
38 lines
707 B
YAML
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@v6.0.1
|
|
|
|
- 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
|