From 0dc5d44cc9c91962877ca0a3b675fb89c75af245 Mon Sep 17 00:00:00 2001 From: Mike Kinney Date: Thu, 30 Dec 2021 10:18:08 -0800 Subject: [PATCH] split out ci tasks --- .github/workflows/ci.yml | 13 ------------- .github/workflows/update_docs.yml | 19 +++++++++++++++++++ 2 files changed, 19 insertions(+), 13 deletions(-) create mode 100644 .github/workflows/update_docs.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0f00fd0..c405445 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 }} diff --git a/.github/workflows/update_docs.yml b/.github/workflows/update_docs.yml new file mode 100644 index 0000000..0a085ed --- /dev/null +++ b/.github/workflows/update_docs.yml @@ -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 }}