fix missing images on pypi (#1407)

* formatting

* fix missing image on pypi

* fix pypi push
This commit is contained in:
Jirka Borovec authored and GitHub committed 2020-04-07 15:42:19 -04:00
1 parent fdb61cb854
commit 62822b6f73
4 files changed
+16 -8

No files matched your search

+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__