Skip to content

Merge pull request #22 from pennam/ntp-sync #66

Merge pull request #22 from pennam/ntp-sync

Merge pull request #22 from pennam/ntp-sync #66

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