Skip to content
Snippets Groups Projects
Commit be6f49b4 authored by Mateusz Żebrak's avatar Mateusz Żebrak Committed by Bartek Wrona
Browse files

Create additional job template deploying to the official PyPI

parent 8a378f08
No related branches found
No related tags found
1 merge request!22Create additional job template deploying to the official PyPI
...@@ -132,4 +132,15 @@ variables: ...@@ -132,4 +132,15 @@ variables:
- poetry config http-basic.gitlab gitlab-ci-token "${CI_JOB_TOKEN}" - poetry config http-basic.gitlab gitlab-ci-token "${CI_JOB_TOKEN}"
- poetry publish --repository gitlab - poetry publish --repository gitlab
.deploy_wheel_to_pypi_template:
extends: .deploy_wheel_base
variables:
PYPI_AUTHORIZATION_TOKEN: $PYPI_AUTHORIZATION_TOKEN
script:
- echo -e "${TXT_BLUE}Deploying python wheel to the official PyPI registry...${TXT_CLEAR}"
- ls -al
- poetry version
- poetry config pypi-token.pypi "${PYPI_AUTHORIZATION_TOKEN}"
- poetry publish
# <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<| DEPLOY |<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< # <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<| DEPLOY |<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment