fix missing images on pypi (#1407)

* formatting

* fix missing image on pypi

* fix pypi push
This commit is contained in:
Jirka Borovec
2020-04-07 15:42:19 -04:00
committed by GitHub
parent fdb61cb854
commit 62822b6f73
4 changed files with 16 additions and 8 deletions
+2 -2
View File
@@ -33,7 +33,7 @@ jobs:
# We do this, since failures on test.pypi aren't that bad
- name: Publish to Test PyPI
if: startsWith(github.event.ref, 'refs/tags')
if: startsWith(github.event.ref, 'refs/tags') || github.event_name == 'release'
uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
@@ -41,7 +41,7 @@ jobs:
repository_url: https://test.pypi.org/legacy/
- name: Publish distribution 📦 to PyPI
if: startsWith(github.event.ref, 'refs/tags')
if: startsWith(github.event.ref, 'refs/tags') || github.event_name == 'release'
uses: pypa/gh-action-pypi-publish@master
with:
user: __token__