mirror of
https://github.com/checktheroads/hyperglass
synced 2024-05-11 05:55:08 +00:00
fix auto PyPI deployment
This commit is contained in:
@@ -25,19 +25,14 @@ jobs:
|
||||
env:
|
||||
- HYPERGLASS_UI_BUILD_TIMEOUT=600
|
||||
script: docker run hyperglass/ubuntu /tmp/setup.sh
|
||||
|
||||
# Poetry & PyPI Deployment stolen from: https://github.com/python-poetry/poetry/issues/366
|
||||
- stage: Publish
|
||||
script: skip
|
||||
before_deploy:
|
||||
- pip install poetry
|
||||
- poetry config pypi-token.pypi $PYPI_TOKEN
|
||||
- poetry build
|
||||
|
||||
deploy:
|
||||
provider: script
|
||||
script: poetry publish
|
||||
skip_cleanup: true
|
||||
on:
|
||||
all_branches: true
|
||||
condition: $TRAVIS_BUILD_STAGE_NAME = Deploy
|
||||
repo: checktheroads/hyperglass
|
||||
tags: true
|
||||
|
Reference in New Issue
Block a user