Skip to content

Commit 0b0f649

Browse files
committed
revert workflow changes
1 parent 7b43f52 commit 0b0f649

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

.gitconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[core]
2+
filemode = true

.github/workflows/release.yml

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

76
jobs:
87
publish:
@@ -19,18 +18,17 @@ jobs:
1918
run: pip install twine
2019
- name: Build package
2120
run: python setup.py sdist
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 }}
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 }}
2726
- name: Install tox
2827
run: pip install tox
2928
- name: Generate API docs
3029
run: |
3130
rm -rf ./docs/_build
3231
tox -e docs
33-
# cd ./docs/_build/html && zip -r ../docs_html.zip . -x ".*" -x "__MACOSX"
3432
- name : Docs Upload
3533
uses: actions/upload-artifact@v3
3634
with:

.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-
[pull_request ]
4+
[push, pull_request ]
55

66
jobs:
77
build:

0 commit comments

Comments
 (0)