Skip to content
Snippets Groups Projects
Verified Commit 99a69fd9 authored by Yoann Schneider's avatar Yoann Schneider :tennis:
Browse files

Pypi publication

parent e16b62d0
No related branches found
No related tags found
No related merge requests found
Pipeline #155373 passed
......@@ -179,3 +179,21 @@ docs-stop-surge:
script:
- surge teardown ${CI_ENVIRONMENT_URL}
deploy-pypi:
stage: release
image: python:3.10
only:
- tags
variables:
TWINE_USERNAME: gitlab-ci-token
TWINE_PASSWORD: ${CI_JOB_TOKEN}
TWINE_REPOSITORY_URL: ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/pypi
before_script:
- pip install twine build
script:
- python setup.py sdist bdist_wheel
- twine upload --repository-url ${TWINE_REPOSITORY_URL} dist/*
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