25 lines
664 B
Markdown
25 lines
664 B
Markdown
|
# plugin-twine
|
||
|
|
||
|
This is a Drone/Woodpecker plugin for Python's Twine tool. It lets you upload 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)
|
||
|
- `repository_url`: The repository URL to upload the package to.
|
||
|
|
||
|
### Example
|
||
|
|
||
|
```yaml
|
||
|
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
|
||
|
```
|
||
|
|