2020-09-04 20:01:12 -07:00
|
|
|
name: Update zigbee-frontend
|
|
|
|
on:
|
|
|
|
repository_dispatch:
|
|
|
|
types: update_frontend
|
|
|
|
|
|
|
|
jobs:
|
2020-09-06 04:27:51 -07:00
|
|
|
update_frontend:
|
2020-09-04 20:01:12 -07:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
with:
|
|
|
|
ref: dev
|
|
|
|
ssh-key: ${{ secrets.SSH_PRIVATE_KEY }}
|
|
|
|
- uses: actions/setup-node@v2-beta
|
|
|
|
with:
|
|
|
|
node-version: 12
|
2020-09-06 04:35:53 -07:00
|
|
|
- run: npm install zigbee2mqtt-frontend@${{ github.event.client_payload.version }} --save-exact
|
2020-11-19 15:01:19 -07:00
|
|
|
- uses: peter-evans/create-pull-request@v3
|
2020-09-04 20:01:12 -07:00
|
|
|
with:
|
2020-09-06 04:35:53 -07:00
|
|
|
commit-message: Update zigbee2mqtt-frontend to ${{ github.event.client_payload.version }}
|
2020-09-04 20:01:12 -07:00
|
|
|
branch: "update_frontend"
|
|
|
|
title: Update zigbee-frontend to ${{ github.event.client_payload.version }}
|