split out ci tasks

This commit is contained in:
Mike Kinney 2021-12-30 10:18:08 -08:00
parent 289701a902
commit 0dc5d44cc9
2 changed files with 19 additions and 13 deletions

View file

@ -10,7 +10,6 @@ on:
jobs:
lint:
environment: Production
runs-on: ubuntu-latest
steps:
@ -21,15 +20,3 @@ jobs:
uses: plexsystems/protolint-action@v0.2.0
with:
configDirectory: .
update-docs:
environment: Production
runs-on: ubuntu-latest
steps:
- name: Update Docs
uses: benc-uk/workflow-dispatch@v1
with:
workflow: "Update protobufs"
repo: meshtastic/meshtastic
token: ${{ secrets.ACCESS_TOKEN }}

19
.github/workflows/update_docs.yml vendored Normal file
View file

@ -0,0 +1,19 @@
name: Update docs
on:
push:
branches:
- master
jobs:
update-docs:
environment: Production
runs-on: ubuntu-latest
steps:
- name: Update Docs
uses: benc-uk/workflow-dispatch@v1
with:
workflow: "Update protobufs"
repo: meshtastic/meshtastic
token: ${{ secrets.ACCESS_TOKEN }}