-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
23a5882
commit 5bff651
Showing
2 changed files
with
35 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Generate Documentation | ||
|
||
on: | ||
push: | ||
branches: | ||
- autogenerate-docs | ||
|
||
permissions: { } | ||
|
||
jobs: | ||
generate-docs: | ||
permissions: | ||
contents: write | ||
pull-requests: write | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
# - uses: actions/setup-python@v5 | ||
# with: | ||
# python-version: '3.12' | ||
- run: pip install -r docs/build/requirements.txt | ||
- run: python build.py | ||
working-directory: ./docs/build | ||
- name: Create Pull Request | ||
uses: peter-evans/create-pull-request@v6 | ||
with: | ||
commit-message: Update documentation | ||
branch: update-documentation | ||
delete-branch: true | ||
title: 'Update Documentation' | ||
body: 'This is the PR with the Autogenerated documentation' | ||
labels: 'documentation' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters