ci: add deploy job
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is failing

This commit is contained in:
cătălin 2022-08-12 21:57:54 +02:00
commit f9a3f89801
Signed by: catalin
GPG key ID: 0178DF42F43E5FD2
2 changed files with 13 additions and 1 deletions

View file

@ -44,6 +44,18 @@ steps:
commands:
- .venv/bin/pre-commit run --all-files --color always
- name: deploy
pull: true
image: git.roboces.dev/catalin/poetry:beta
commands:
- poetry build
- poetry config repositories.roboces https://git.roboces.dev/api/packages/catalin/pypi
- poery config http-basic.roboces "$REGISTRY_USERNAME" "$REGISTRY_PASSWORD"
- poetry publish --repository roboces
when:
ref:
- refs/tags/v*
- name: rebuild cache
image: meltwater/drone-cache
pull: true

View file

@ -1,6 +1,6 @@
[tool.poetry]
name = "halig"
version = "0.1.0"
version = "0.1.1"
description = ""
authors = ["cătălin <catalin@roboces.dev>"]
readme = "README.md"