From 9850c052cc5f25446d6f6ef4f0d3a8857e509740 Mon Sep 17 00:00:00 2001 From: Brendan <2bndy5@gmail.com> Date: Fri, 2 Sep 2022 04:00:06 -0700 Subject: [PATCH] add manual trigger to docs CI (#868) solves #867 --- .github/workflows/doxygen.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/doxygen.yml b/.github/workflows/doxygen.yml index 13180d984..d02e3b12e 100644 --- a/.github/workflows/doxygen.yml +++ b/.github/workflows/doxygen.yml @@ -33,6 +33,7 @@ on: release: types: [published, edited] branches: [master] + workflow_dispatch: jobs: build-doxygen: @@ -67,7 +68,7 @@ jobs: name: "RF24_doxygen_docs" path: ${{ github.workspace }}/docs/html - name: upload to github pages - if: ${{ github.event_name == 'release'}} + if: github.event_name == 'release' || (github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/master') uses: peaceiris/actions-gh-pages@v3 with: github_token: ${{ secrets.GITHUB_TOKEN }}