mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2024-11-16 18:39:09 -07:00
Add update frontend gh action
This commit is contained in:
parent
654817a66d
commit
25a953bbce
22
.github/workflows/update_frontend.yml
vendored
Normal file
22
.github/workflows/update_frontend.yml
vendored
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
name: Update zigbee-frontend
|
||||||
|
on:
|
||||||
|
repository_dispatch:
|
||||||
|
types: update_frontend
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
update_zh:
|
||||||
|
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
|
||||||
|
- run: npm install zigbee-frontend@${{ github.event.client_payload.version }} --save-exact
|
||||||
|
- uses: peter-evans/create-pull-request@v2
|
||||||
|
with:
|
||||||
|
commit-message: Update zigbee-frontend to ${{ github.event.client_payload.version }}
|
||||||
|
branch: "update_frontend"
|
||||||
|
title: Update zigbee-frontend to ${{ github.event.client_payload.version }}
|
Loading…
Reference in New Issue
Block a user