Add Repository Updater GitHub Actions workflow

This commit is contained in:
Franck Nijhof 2021-01-13 21:37:14 +01:00
parent df6796f98c
commit 34fc8e1a8f

View file

@ -0,0 +1,19 @@
---
name: Repository Updater
# yamllint disable-line rule:truthy
on:
repository_dispatch:
types: ["update"]
jobs:
publish:
name: Publishing add-on
runs-on: ubuntu-latest
steps:
- name: 🚀 Run Repository Updater
uses: hassio-addons/repository-updater@v1.0.0
with:
addon: ${{ github.event.client_payload.addon }}
repository: ${{ github.repository }}
token: ${{ secrets.UPDATER_TOKEN }}