nrf52x - docs & library files #143
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build Docs | |
on: | |
pull_request: | |
branches: [master, v1.x] | |
paths: | |
- "*.h" | |
- "docs/**" | |
- "!docs/README.md" | |
- "*.md" | |
- "examples**.cpp" | |
- "examples**.ino" | |
- "images/**" | |
- ".github/workflows/doxygen.yml" | |
- "Doxyfile" | |
- "library.properties" # get lib version from here | |
push: | |
branches: [master, v1.x] | |
paths: | |
- "*.h" | |
- "docs/**" | |
- "!docs/README.md" | |
- "*.md" | |
- "examples**.cpp" | |
- "examples**.ino" | |
- "images/**" | |
- ".github/workflows/doxygen.yml" | |
- "Doxyfile" | |
- "library.properties" # get lib version from here | |
release: | |
types: [published, edited] | |
workflow_dispatch: | |
jobs: | |
build-docs: | |
uses: nRF24/.github/.github/workflows/build_docs.yaml@main | |
with: | |
deploy-gh-pages: ${{ github.event_name == 'release' || (github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/master') }} | |
secrets: inherit |