fix: skip twine file
This commit is contained in:
parent
f4ef58672c
commit
dc8b1ca9ed
1 changed files with 3 additions and 12 deletions
|
@ -83,19 +83,10 @@ steps:
|
|||
branch: main
|
||||
image: python:3.9.21
|
||||
environment:
|
||||
PKG_TOKEN:
|
||||
TWINE_PASSWORD:
|
||||
from_secret: PKG_TOKEN
|
||||
TWINE_USERNAME: "CodeByMrFinchum"
|
||||
commands:
|
||||
- ls
|
||||
- python3 -m pip install twine
|
||||
- |
|
||||
cat > ~/.pypirc <<EOF
|
||||
[distutils]
|
||||
index-servers = forgejo
|
||||
|
||||
[forgejo]
|
||||
repository = https://code.boxyfoxy.net/api/packages/CodeByMrFinchum/pypi
|
||||
username = CodeByMrFinchum
|
||||
password = ${PKG_TOKEN}
|
||||
EOF
|
||||
- python3 -m twine upload --repository forgejo dist/*
|
||||
- python3 -m twine upload --verbose --repository-url https://code.boxyfoxy.net/api/packages/CodeByMrFinchum/pypi dist/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue