File tree Expand file tree Collapse file tree 2 files changed +11
-11
lines changed Expand file tree Collapse file tree 2 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 1
1
name : Release
2
2
on :
3
- release :
4
- types : [published]
3
+ [push]
4
+ # release:
5
+ # types: [published]
5
6
6
7
jobs :
7
8
publish :
@@ -18,23 +19,22 @@ jobs:
18
19
run : pip install twine
19
20
- name : Build package
20
21
run : python setup.py sdist
21
- - name : Publish package to PyPI
22
-
23
- with :
24
- user : __token__
25
- password : ${{ secrets.pypi_password }}
22
+ # - name: Publish package to PyPI
23
+
24
+ # with:
25
+ # user: __token__
26
+ # password: ${{ secrets.pypi_password }}
26
27
- name : Install tox
27
28
run : pip install tox
28
29
- name : Generate API docs
29
30
run : |
30
31
rm -rf ./docs/_build
31
32
tox -e docs
32
- cd ./docs/_build/html && zip -r ../docs_html.zip . -x ".*" -x "__MACOSX"
33
33
- name : Docs Upload
34
34
uses : actions/upload-artifact@v3
35
35
with :
36
- name : apidocs
37
- path : docs/_build/docs_html.zip
36
+ name : python_sdk_docs
37
+ path : docs/_build/html
38
38
# Test upload
39
39
# - name: Publish package to TestPyPI
40
40
# uses: pypa/gh-action-pypi-publish@master
Original file line number Diff line number Diff line change 1
1
name : Python CI
2
2
3
3
on :
4
- [ push, pull_request ]
4
+ [ pull_request ]
5
5
6
6
jobs :
7
7
build :
You can’t perform that action at this time.
0 commit comments