File tree Expand file tree Collapse file tree 4 files changed +58
-46
lines changed
Expand file tree Collapse file tree 4 files changed +58
-46
lines changed Original file line number Diff line number Diff line change 1+ name : GitHub Pages
2+
3+ on :
4+ release :
5+ types :
6+ - created
7+ - edited
8+
9+ jobs :
10+ job :
11+ runs-on : ubuntu-latest
12+ steps :
13+ - uses : actions/checkout@v2
14+ - name : Setup Python
15+ uses : actions/setup-python@v2
16+ with :
17+ python-version : 3.7
18+ - name : Build docs
19+ run : |
20+ pip install poetry
21+ poetry install
22+ poetry run etc/builddocs
23+ - name : Deploy docs
24+ uses : peaceiris/actions-gh-pages@v3
25+ with :
26+ github_token : ${{ secrets.GITHUB_TOKEN }}
27+ publish_dir : ./docs/_build
28+ publish_branch : gh-pages
29+ force_orphan : true
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ name : PyPI
2+
3+ on :
4+ release :
5+ types :
6+ - created
7+
8+ jobs :
9+ job :
10+ runs-on : ubuntu-latest
11+ env :
12+ USERNAME : ${{ secrets.PYPI_USERNAME }}
13+ PASSWORD : ${{ secrets.PYPI_PASSWORD }}
14+ steps :
15+ - uses : actions/checkout@v2
16+ - name : Setup Python
17+ uses : actions/setup-python@v2
18+ with :
19+ python-version : 3.7
20+ - name : Publish package
21+ run : |
22+ pip install poetry
23+ poetry build
24+ poetry publish --username $USERNAME --password $PASSWORD
Original file line number Diff line number Diff line change @@ -2,12 +2,14 @@ name: Test
22
33on :
44 push :
5- branches : [master]
5+ branches :
6+ - master
67 pull_request :
7- branches : [master]
8+ branches :
9+ - master
810
911jobs :
10- test :
12+ job :
1113 runs-on : ubuntu-latest
1214 strategy :
1315 matrix :
You can’t perform that action at this time.
0 commit comments