Skip to content

Commit

Permalink
DEBUG
Browse files Browse the repository at this point in the history
  • Loading branch information
JaeAeich committed Jul 8, 2024
1 parent 4878721 commit b11f71b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ jobs:

- name: Generate API docs
run: |
sphinx-apidoc -o /tmp/docs tus_storagehandler/
poetry run sphinx-apidoc -o /tmp/docs tus_storagehandler/
- name: Compare docs with main branch
id: check_docs_diff
run: |
shasum /tmp/docs/* > /tmp/docs.sha
shasum /docs/pages/* > /docs/project_doc.sha
diff=$(diff /tmp/docs.sha /docs/project_doc.sha) || true
shasum tus_storagehandler/docs/pages/* > tus_storagehandler/docs/project_doc.sha
diff=$(diff /tmp/docs.sha tus_storagehandler/docs/project_doc.sha) || true
if [[ -n "$diff" ]]; then
echo "::error::API documentation is out of date."
exit 1
Expand Down

0 comments on commit b11f71b

Please sign in to comment.