examples: revert to minima GH example, add deploymet

example showing pypi and GH release
This commit is contained in:
Marek Otahal
2020-06-01 16:01:29 +02:00
parent ca49d86ed8
commit 63f7a2ddc4
2 changed files with 47 additions and 10 deletions
-10
View File
@@ -35,13 +35,3 @@ jobs:
with:
name: wheels
path: ./wheelhouse
- name: Publish to PyPI
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@master #see https://github.com/pypa/gh-action-pypi-publish for setup
with:
user: __token__
password: ${{ secrets.pypi_password }}
repository_url: https://test.pypi.org/legacy/ #TODO rm this line to use the "real" pypi
packages_dir: ./wheelhouse/