Skip to content
Snippets Groups Projects
Commit 1b2aa0db authored by Remi  PLANEL's avatar Remi PLANEL
Browse files

deploy when release tag added

parent fdba9f0c
No related branches found
No related tags found
2 merge requests!2PyPI publish package,!1Package this lib for pypi
Pipeline #18234 passed
image: python:3.7 image: python:3.7
cache:
paths:
- .venv
key: "${CI_COMMIT_REF_SLUG}"
stages: stages:
- test - test
- deploy - deploy
...@@ -17,3 +12,11 @@ test: ...@@ -17,3 +12,11 @@ test:
stage: test stage: test
script: script:
- poetry run pytest - poetry run pytest
deploy:
stage: deploy
script:
- echo "deploy"
- poetry build -v
rules:
- if: '$CI_COMMIT_TAG =~ /^\d+\.\d+\.\d+$/'
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