| 1 |
name: Notify from dev |
| 2 |
|
| 3 |
permissions: |
| 4 |
contents: read |
| 5 |
|
| 6 |
on: |
| 7 |
push: |
| 8 |
branches: |
| 9 |
- dev |
| 10 |
|
| 11 |
jobs: |
| 12 |
notify-ha: |
| 13 |
runs-on: ubuntu-latest |
| 14 |
steps: |
| 15 |
- name: Create GitHub App token |
| 16 |
id: app_token |
| 17 |
uses: tibdex/[email protected] |
| 18 |
with: |
| 19 |
app_id: ${{ secrets.AR_APP_ID }} |
| 20 |
private_key: ${{ secrets.AR_APP_KEY }} |
| 21 |
|
| 22 |
- name: Notify ha-asusrouter |
| 23 |
uses: peter-evans/[email protected] |
| 24 |
with: |
| 25 |
token: ${{ steps.app_token.outputs.token }} |
| 26 |
repository: Vaskivskyi/ha-asusrouter |
| 27 |
event-type: ar_dev_push |
| 28 |
client-payload: | |
| 29 |
{"repo":"${{ github.repository }}","ref":"${{ github.ref }}","sha":"${{ github.sha }}"} |