Replace github.ref -> github.event.ref README

Resolves #31
This commit is contained in:
Sviatoslav Sydorenko 2020-06-03 17:49:53 +02:00
parent c37b99ec5f
commit 55abf9c047
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 9345E8FEA89CA455

View file

@ -30,7 +30,7 @@ filter to the step:
```yml
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
```
So the full step would look like:
@ -38,7 +38,7 @@ So the full step would look like:
```yml
- name: Publish package
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@master
with:
user: __token__