This commit is contained in:
Lukáš Kucharczyk 2022-03-01 12:40:06 +01:00
parent 91743d1c6d
commit b5830c3aa9
No known key found for this signature in database
1 changed files with 22 additions and 0 deletions

22
.drone.yml Normal file
View File

@ -0,0 +1,22 @@
---
kind: pipeline
type: docker
name: build and publish
steps:
- name: build
image: registry.kucharczyk.tech/python-pypi
commands:
- python -m build
- name: publish
image: registry.kucharczyk.tech/python-pypi
commands:
- python -m twine upload -u $USERNAME -p $PASSWORD dist/*
environment:
USERNAME:
from_secret: pypi_username
PASSWORD:
from_secret: pypi_password
trigger:
event:
- tag