Merge pull request #22 from pennam/ntp-sync #66
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: Render Documentation | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- ".github/workflows/render-documentation.ya?ml" | |
- "examples/**" | |
- "src/**" | |
pull_request: | |
branches: | |
- main | |
paths: | |
- ".github/workflows/render-documentation.ya?ml" | |
- "examples/**" | |
- "src/**" | |
workflow_dispatch: | |
jobs: | |
render-docs: | |
permissions: | |
contents: write | |
uses: sebromero/render-docs-github-action/.github/workflows/render-docs.yml@main | |
with: | |
source-path: './src' | |
target-path: './docs/api.md' | |
fail-on-warnings: true | |
commit: ${{ github.event_name != 'pull_request' }} # Only commit changes if not a PR |