Skip to content

Commit

Permalink
Update release workflow
Browse files Browse the repository at this point in the history
- manually build documentation
  • Loading branch information
Carsten committed Mar 21, 2024
1 parent 6bd66d7 commit 8348db3
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,22 +37,26 @@ jobs:
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-versions }}

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements/develop.txt
pip install -e .
- id: doc
uses: sphinx-notes/pages@v3
with:
publish: false
run: |
cd docs
make html
# - name upload_artifact
# uses: actions/upload-artifact@v4
# with:
# name: doc_build
# path: |
# docs/build/html
- name: publish documentation
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ${{steps.doc.outputs.artifact }}
publish_dir: ./docs/build/html

- name: Build wheels and source tarball
run: |
Expand Down

0 comments on commit 8348db3

Please sign in to comment.