Skip to content
Snippets Groups Projects
Commit 32c5bcf1 authored by Yoann Schneider's avatar Yoann Schneider :tennis:
Browse files

Merge branch 'gitlab-package' into 'main'

Publish on the GitLab package registry

See merge request !344
parents 6be3dcb0 e164a0cd
No related branches found
No related tags found
1 merge request!344Publish on the GitLab package registry
......@@ -149,6 +149,25 @@ docs-stop-surge:
script:
- surge teardown ${CI_ENVIRONMENT_URL}
deploy-pypi:
stage: deploy
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
script:
- python setup.py sdist bdist_wheel
- twine upload --repository-url ${TWINE_REPOSITORY_URL} dist/*
bump-python-deps:
stage: deploy
image: registry.gitlab.teklia.com/infra/devops:latest
......
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