Skip to content

Merge pull request #2 from arduino-libraries/orange-led-brightness #10

Merge pull request #2 from arduino-libraries/orange-led-brightness

Merge pull request #2 from arduino-libraries/orange-led-brightness #10

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