diff --git a/.drone.yml b/.drone.yml index 32b13f2..acc2ec7 100644 --- a/.drone.yml +++ b/.drone.yml @@ -9,8 +9,6 @@ steps: commands: - pip install wheel - python setup.py bdist_wheel - when: - event: tag - name: release image: plugins/gitea-release @@ -21,5 +19,15 @@ steps: files: dist/*.whl checksum: md5 draft: true - when: - event: tag + + - name: publish + image: plugins/pypi + settings: + username: syntaxerrormmm + password: + from_secret: pypi + +trigger: + event: + - tag + - push