Skip to content

Commit

Permalink
add manual trigger to docs CI (#868)
Browse files Browse the repository at this point in the history
solves #867
  • Loading branch information
2bndy5 authored Sep 2, 2022
1 parent f85cd06 commit 9850c05
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/doxygen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ on:
release:
types: [published, edited]
branches: [master]
workflow_dispatch:

jobs:
build-doxygen:
Expand Down Expand Up @@ -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 }}
Expand Down

0 comments on commit 9850c05

Please sign in to comment.