We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents da04587 + 8f7047f commit b663c45Copy full SHA for b663c45
.github/workflows/render-docs.yml
@@ -0,0 +1,29 @@
1
+name: Render Documentation
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
+ paths:
8
+ - ".github/workflows/render-documentation.ya?ml"
9
+ - "examples/**"
10
+ - "src/**"
11
+ pull_request:
12
13
14
15
16
17
18
+ workflow_dispatch:
19
20
+jobs:
21
+ render-docs:
22
+ permissions:
23
+ contents: write
24
+ uses: arduino/render-docs-github-action/.github/workflows/render-docs.yml@main
25
+ with:
26
+ source-path: './src'
27
+ target-path: './docs/api.md'
28
+ commit: ${{ github.event_name != 'pull_request' }} # Only commit changes if not a PR
29
0 commit comments