Skip to main content
Plugins / Twine

Twine

by Elara6331

Publish a built python project to a PyPi repository


Woodpecker CI plugin that uses the Twine utility to publish a built Python project to a PyPi repository.

Settings

  • username: The username to authenticate to the repository as. (REQUIRED)
  • password: The password to authenticate to the repository with. (REQUIRED)
  • comment: The comment to include with the distribution file.
  • repository_url: The repository URL to upload the package to.

Example

steps:
  publish:
    image: gitea.elara.ws/music-kraken/plugin-twine
    settings:
      repository_url: "https://gitea.elara.ws/api/packages/music-kraken/pypi"
      username:
        from_secret: pypi_username
      password:
        from_secret: pypi_password