Skip to content

Merge pull request #3 from arduino-libraries/persistence #15

Merge pull request #3 from arduino-libraries/persistence

Merge pull request #3 from arduino-libraries/persistence #15

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