ci: add deploy job
This commit is contained in:
parent
4561d1bcef
commit
f9a3f89801
2 changed files with 13 additions and 1 deletions
12
.drone.yml
12
.drone.yml
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue