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 }}