Skip to content

Commit

Permalink
ci: Automatically publish docs for new releases
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Wozniski <[email protected]>
  • Loading branch information
godlygeek committed Aug 1, 2023
1 parent e3573b9 commit a0b97f9
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -194,3 +194,21 @@ jobs:
with:
skip_existing: true
password: ${{ secrets.PYPI_PASSWORD }}

upload_docs:
needs: [build_docs]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/download-artifact@v3
name: Unstash docs tarball
with:
name: github-pages
- name: Extract docs tarball
run: |
mkdir -p docs/_build/html
tar xvf artifact.tar --directory docs/_build/html
- name: Publish docs to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: docs/_build/html

0 comments on commit a0b97f9

Please sign in to comment.