Update pis
All checks were successful
actions-lint / actions-lint (push) Successful in 5s

This commit is contained in:
2024-09-13 11:50:55 +01:00
parent 7f76af1144
commit e5550e329d

23
.github/workflows/update-pis.yml vendored Normal file
View File

@@ -0,0 +1,23 @@
name: Update raspberry pis
on:
pull_request:
branches:
- main
types: [closed]
jobs:
deploy:
name: Deploy Ansible Playbook
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Run Ansible
uses: dawidd6/action-ansible-playbook@v2
with:
playbook: update-pis.yml
directory: playbooks
options: |
--inventory inventory