Skip to content

Commit 1af8e40

Browse files
committed
test doc generation
1 parent e2a4d8c commit 1af8e40

File tree

2 files changed

+11
-10
lines changed

2 files changed

+11
-10
lines changed

.github/workflows/release.yml

Lines changed: 10 additions & 9 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,23 @@ 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/gh-action-pypi-publish@v1.3.1
23-
with:
24-
user: __token__
25-
password: ${{ secrets.pypi_password }}
22+
# - name: Publish package to PyPI
23+
# uses: pypa/gh-action-pypi-publish@v1.3.1
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"
33+
# cd ./docs/_build/html && zip -r ../docs_html.zip . -x ".*" -x "__MACOSX"
3334
- name : Docs Upload
3435
uses: actions/upload-artifact@v3
3536
with:
3637
name: apidocs
37-
path: docs/_build/docs_html.zip
38+
path: docs/_build/html
3839
# Test upload
3940
# - name: Publish package to TestPyPI
4041
# 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)