Skip to content
This repository was archived by the owner on Apr 4, 2023. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/master-publish-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ jobs:
- name: Install dependencies
run: |
python -m pip install -r requirements_dev.txt
python -m pip install -e .
- name: Replace html dir with worktree
run: |
rm -rf docs/_build/html
Expand All @@ -24,6 +23,8 @@ jobs:
- uses: ammaraskar/sphinx-action@master
with:
docs-folder: "docs/"
build-command: "PYTHONPATH=/work/lib make html"

- name: Commit worktree to gh-pages
env:
THE_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/pr-test-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@ jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
- name: Install dependencies
run: |
python -m pip install -r requirements.txt
python -m pip install -r requirements_dev.txt
python -m pip install -e .
- uses: ammaraskar/sphinx-action@master
env:
PYTHONPATH: /home/runner/work/python-sap-map/python-sap-map/lib:/usr/local/lib/python3.8/site-packages
with:
docs-folder: "docs/"
docs-folder: "docs/"