Skip to content

Commit

Permalink
Export commit updating built docs as patch/bundle instead of diff
Browse files Browse the repository at this point in the history
Also upload the patch/bundle as an artifact.
  • Loading branch information
pabs3 committed Mar 18, 2023
1 parent 74c531c commit 272b346
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,19 @@ jobs:
run: |
python setup.py build_ext --inplace
make -C docs/src clean html
git diff --exit-code
git add .
git commit -m 'Import documentation changes'
git format-patch @^
git bundle create fix-links.bundle @^...@
- name: Upload patch/bundle as artifacts
if: always()
uses: actions/upload-artifact@v3
with:
name: fix-links-get-patch
path: |
*.patch
*.bundle
#
# FIXME: do we want to store the built documentation somewhere, or is
# knowing that the docs built successfully enough?
Expand Down

0 comments on commit 272b346

Please sign in to comment.