fix conditional for deploy step

This commit is contained in:
Jonathan Wren 2020-01-14 19:44:26 -08:00
parent bfa0cae289
commit f92c789efe

View file

@ -115,7 +115,6 @@ jobs:
- TZ=America/Edmonton
- stage: Deploy
if: branch = master AND tag IS present
before_deploy:
- poetry config pypi-token.pypi "$PYPI_TOKEN"
- poetry version "$TRAVIS_TAG"
@ -124,6 +123,10 @@ jobs:
deploy:
- provider: script
script: poetry publish
skip_cleanup: true
on:
branch: master
tags: true
after_deploy:
- git config --global user.email "jrnl.bot@gmail.com"
- git config --global user.name "Jrnl Bot"