Use proper syntax for multiple deployment
@@ -25,18 +25,15 @@ script:
- docker images
- docker run `make version` --help
-# push images to DockerHub on tags
+# push images to DockerHub and PyPI on tags
deploy:
- provider: script
+ - provider: script
script: bash docker_deploy.sh
skip_cleanup: true
on:
tags: true
condition: -n "$DOCKER_PASSWORD"
-
-# push packages to PyPI on tags
-deploy:
- provider: pypi
+ - provider: pypi
user: "$PYPI_USER"
password: "$PYPI_PASSWORD"
skip_cleanup: true
