Issue comment trigger
All checks were successful
actions-lint / actions-lint (push) Successful in 5s
All checks were successful
actions-lint / actions-lint (push) Successful in 5s
This commit is contained in:
7
.github/workflows/update-pis.yml
vendored
7
.github/workflows/update-pis.yml
vendored
@@ -1,15 +1,12 @@
|
||||
name: Update raspberry pis
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
types: [closed]
|
||||
issue_comment:
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
name: Deploy Ansible Playbook
|
||||
if: github.event.pull_request.merged == true
|
||||
if: ${{ github.event.comment.body == '!run update-pis'}}
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
|
||||
Reference in New Issue
Block a user