Skip to content

Commit 9e683c6

Browse files
committed
test doc generation
1 parent 7585d0f commit 9e683c6

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

.github/workflows/release.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
name: Release
22
on:
3-
release:
4-
types: [published]
3+
[push]
4+
# release:
5+
# types: [published]
56

67
jobs:
78
publish:
@@ -18,23 +19,22 @@ jobs:
1819
run: pip install twine
1920
- name: Build package
2021
run: python setup.py sdist
21-
- name: Publish package to PyPI
22-
uses: pypa/[email protected]
23-
with:
24-
user: __token__
25-
password: ${{ secrets.pypi_password }}
22+
# - name: Publish package to PyPI
23+
# uses: pypa/[email protected]
24+
# with:
25+
# user: __token__
26+
# password: ${{ secrets.pypi_password }}
2627
- name: Install tox
2728
run: pip install tox
2829
- name: Generate API docs
2930
run: |
3031
rm -rf ./docs/_build
3132
tox -e docs
32-
cd ./docs/_build/html && zip -r ../docs_html.zip . -x ".*" -x "__MACOSX"
3333
- name : Docs Upload
3434
uses: actions/upload-artifact@v3
3535
with:
36-
name: apidocs
37-
path: docs/_build/docs_html.zip
36+
name: python_sdk_docs
37+
path: docs/_build/html
3838
# Test upload
3939
# - name: Publish package to TestPyPI
4040
# uses: pypa/gh-action-pypi-publish@master

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Python CI
22

33
on:
4-
[ push, pull_request ]
4+
[ pull_request ]
55

66
jobs:
77
build:

0 commit comments

Comments
 (0)