Skip to content

Commit 3236e18

Browse files
committed
WIP config
1 parent b7773f6 commit 3236e18

File tree

1 file changed

+4
-19
lines changed

1 file changed

+4
-19
lines changed

.github/workflows/docs.yml

Lines changed: 4 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -19,29 +19,14 @@ jobs:
1919
with:
2020
python-version: '3.12'
2121
- run: pip install -r docs/build/requirements.txt
22-
- name: Generate documentation
23-
# id: generate
24-
run: |
25-
cd docs/build
26-
python build.py
27-
# git diff --quiet && DIFF=false || DIFF=true
28-
# echo $DIFF
29-
# echo "diff=$DIFF" >> $GITHUB_OUTPUT
30-
31-
# - name: Commit and push changes
32-
# # if: steps.generate.outputs.diff == 'true'
33-
# run: |
34-
# git checkout -b update-docs
35-
# git add docs/api-reference
36-
# git config --global user.name 'github-actions'
37-
# git config --global user.email 'github-actions@github.com'
38-
# git commit -m "Update documentation"
39-
# git push -f -u origin update-docs
40-
22+
- run: python build.py
23+
working-directory: ./docs/build
4124
- name: Create Pull Request
4225
uses: peter-evans/create-pull-request@v6
4326
with:
27+
commit-message: Update documentation
4428
branch: update-docs
29+
delete-branch: true
4530
title: 'Update Documentation'
4631
body: 'This PR updates the documentation with the latest changes.'
4732
labels: 'documentation'

0 commit comments

Comments
 (0)