File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed
Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change 1+ name : deploy
2+ on :
3+ push :
4+ tags :
5+ - v*
6+ # if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
7+ jobs :
8+ deploy :
9+ runs-on : ubuntu-latest
10+ steps :
11+ - name : Checkout
12+ uses : actions/checkout@master
13+ - name : Set up Python 3.7
14+ uses : actions/setup-python@v1
15+ with :
16+ python-version : 3.7
17+ - name : Install dependencies
18+ run : make install IGNORE_VENV=1
19+ - name : Build Docs
20+ run : |
21+ make docs
22+ touch docs/build/html/.nojekyll
23+ - name : Deploy Docs
24+ 25+ env :
26+ PERSONAL_TOKEN : ${{ secrets.ACCESS_TOKEN }}
27+ PUBLISH_BRANCH : gh-pages
28+ PUBLISH_DIR : docs/build/html
29+ - name : Build Package
30+ run : |
31+ python3 setup.py sdist
32+ - name : Deploy Package
33+ uses : pypa/gh-action-pypi-publish@master
34+ with :
35+ user : __token__
36+ password : ${{ secrets.PYPI_TOKEN }}
You can’t perform that action at this time.
0 commit comments