Skip to content

Commit

Permalink
attempting doc uploading fixes (#185)
Browse files Browse the repository at this point in the history
* attempting doc uploading fixes

* formatting
  • Loading branch information
MaximilienLC authored Jan 17, 2024
1 parent 1a587f1 commit d9f50ad
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 13 deletions.
20 changes: 12 additions & 8 deletions .github/workflows/docs-build-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,18 @@ jobs:
docs-build-push:
runs-on: ubuntu-22.04
steps:
- name: Build the documentation
id: build-docs
uses: sphinx-notes/pages@v3
- name: Checkout the GitHub repo
uses: actions/checkout@v4
- name: Load Python 3.10
uses: actions/setup-python@v5
with:
publish: false
pyproject_extras: null
sphinx_version: null
- uses: peaceiris/actions-gh-pages@v3
python-version: '3.10'
- name: Install dependencies
run: pip install -r docs/requirements.txt
- name: Build the documentation
run: sphinx-build -b html docs/ docs/build/
- name: Upload the documentation
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ${{ steps.build-docs.outputs.artifact }}
publish_dir: docs/build/
14 changes: 9 additions & 5 deletions .github/workflows/docs-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,13 @@ jobs:
docs-build:
runs-on: ubuntu-22.04
steps:
- name: Build the documentation
uses: sphinx-notes/pages@v3
- name: Checkout the GitHub repo
uses: actions/checkout@v4
- name: Load Python 3.10
uses: actions/setup-python@v5
with:
publish: false
pyproject_extras: null
sphinx_version: null
python-version: '3.10'
- name: Install dependencies
run: pip install -r docs/requirements.txt
- name: Build the documentation
run: sphinx-build -b html docs/ docs/build/

0 comments on commit d9f50ad

Please sign in to comment.