Files
ansible-tasks/.github/workflows/update-pis.yml
Ozzy fea000f39b
All checks were successful
actions-lint / actions-lint (push) Successful in 5s
Issue comment trigger
2024-09-13 11:53:56 +01:00

20 lines
477 B
YAML

name: Update raspberry pis
on:
issue_comment:
jobs:
deploy:
name: Deploy Ansible Playbook
if: ${{ github.event.comment.body == '!run update-pis'}}
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