We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2ffa2aa + 1d82802 commit 5059136Copy full SHA for 5059136
.github/workflows/pypi.yml
@@ -73,4 +73,18 @@ jobs:
73
path: dist
74
75
- name: Publish package to PyPI
76
- uses: pypa/gh-action-pypi-publish@release/v1
+ uses: pypa/gh-action-pypi-publish@release/v1
77
+
78
+ upload_gh_pages:
79
+ name: Deploy to GitHub Pages
80
+ needs: [upload_pypi]
81
+ runs-on: ubuntu-latest
82
+ if: github.ref == 'refs/heads/main' && startsWith(github.ref, 'refs/tags/v')
83
+ steps:
84
+ - name: Publish docs
85
+ uses: peaceiris/actions-gh-pages@v3
86
+ with:
87
+ publish_branch: gh-pages
88
+ github_token: ${{ secrets.GITHUB_TOKEN }}
89
+ publish_dir: docs/
90
+ force_orphan: true
0 commit comments