diff --git a/.drone.yml b/.drone.yml index d6d944d..2a4bead 100644 --- a/.drone.yml +++ b/.drone.yml @@ -80,14 +80,10 @@ trigger: - tag steps: - - name: publish pypi - image: python:3.10 - commands: - - pip install twine - - python setup.py sdist - - twine upload dist/* - environment: - TWINE_USERNAME: +- name: publish pypi + image: plugins/pypi + settings: + username: from_secret: pypi_username - TWINE_PASSWORD: - from_secret: pypi_username \ No newline at end of file + password: + from_secret: pypi_password \ No newline at end of file