Skip to content
Snippets Groups Projects
Commit 9e29f4a5 authored by Dzianis Bartashevich's avatar Dzianis Bartashevich
Browse files

add gitlab tag method

parent 8cf8d674
No related branches found
No related tags found
No related merge requests found
......@@ -27,21 +27,28 @@ before_script:
stages:
- pages
- deploy
pages:
tags:
- docker-executor
stage: pages
variables:
TWINE_USERNAME: $TWINE_USERNAME
TWINE_PASSWORD: $TWINE_PASSWORD
script:
- make test
- ls -la
- mv build public
- mv public/lmcbaseclasses_htmlcov/* public
- make push
- twine upload --repository-url $PYPI_REPOSITORY_URL dist_test/*
artifacts:
paths:
- public
registry_deploy:
stage: deploy
variables:
TWINE_USERNAME: $TWINE_USERNAME
TWINE_PASSWORD: $TWINE_PASSWORD
script:
- twine upload --repository-url $PYPI_REPOSITORY_URL dist_test/*
only:
- tags
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment