We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11a4ba1 commit 29fba7cCopy full SHA for 29fba7c
.github/workflows/build_and_commit_docs.yml
@@ -0,0 +1,32 @@
1
+on:
2
+ push:
3
+ branches: ['main']
4
+ workflow_dispatch: {}
5
+
6
+permissions:
7
+ contents: write
8
+ pull-requests: write
9
10
+name: build-and-commit-docs
11
12
+jobs:
13
+ build-docs:
14
+ # prevent subsequent commits from triggering the job multiple times
15
+ concurrency:
16
+ group: ci-${{ github.ref }}
17
+ cancel-in-progress: true
18
+ name: "Build documentation."
19
+ uses: ./.github/workflows/build.yml
20
21
+ commit-docs:
22
+ needs: [build-docs]
23
+ permissions:
24
25
26
+ runs-on: ubuntu-latest
27
+ steps:
28
+ - name: Open Pull Request
29
+ uses: peter-evans/create-pull-request@v6
30
+ with:
31
+ title: 'docs: generate docs from latest main [skip-ci]'
32
+ delete-branch: true
0 commit comments