mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-10 16:48:31 +02:00
[#757] update CI logic to new format
This commit is contained in:
parent
a704863121
commit
63f2901bf4
1 changed files with 1 additions and 4 deletions
|
@ -33,6 +33,7 @@ jobs:
|
||||||
env:
|
env:
|
||||||
- PATH=/c/Python37:/c/Python37/Scripts:$PATH
|
- PATH=/c/Python37:/c/Python37/Scripts:$PATH
|
||||||
- stage: "Deploy"
|
- stage: "Deploy"
|
||||||
|
if: branch = master AND tag IS present
|
||||||
before_deploy:
|
before_deploy:
|
||||||
- poetry config http-basic.pypi "$PYPI_USER" "$PYPI_PASS"
|
- poetry config http-basic.pypi "$PYPI_USER" "$PYPI_PASS"
|
||||||
- poetry version "$TRAVIS_TAG"
|
- poetry version "$TRAVIS_TAG"
|
||||||
|
@ -40,10 +41,6 @@ jobs:
|
||||||
deploy:
|
deploy:
|
||||||
- provider: script
|
- provider: script
|
||||||
script: poetry publish
|
script: poetry publish
|
||||||
skip_cleanup: true
|
|
||||||
on:
|
|
||||||
branch: master
|
|
||||||
tags: true
|
|
||||||
after_deploy:
|
after_deploy:
|
||||||
- git config --global user.email "jrnl.bot@gmail.com"
|
- git config --global user.email "jrnl.bot@gmail.com"
|
||||||
- git config --global user.name "Jrnl Bot"
|
- git config --global user.name "Jrnl Bot"
|
||||||
|
|
Loading…
Add table
Reference in a new issue