mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-10 08:38:32 +02:00
fix conditional for deploy step
This commit is contained in:
parent
bfa0cae289
commit
f92c789efe
1 changed files with 4 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue