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
|
branch: main
|
||||||
image: python:3.9.21
|
image: python:3.9.21
|
||||||
environment:
|
environment:
|
||||||
PKG_TOKEN:
|
TWINE_PASSWORD:
|
||||||
from_secret: PKG_TOKEN
|
from_secret: PKG_TOKEN
|
||||||
|
TWINE_USERNAME: "CodeByMrFinchum"
|
||||||
commands:
|
commands:
|
||||||
- ls
|
- ls
|
||||||
- python3 -m pip install twine
|
- python3 -m pip install twine
|
||||||
- |
|
- python3 -m twine upload --verbose --repository-url https://code.boxyfoxy.net/api/packages/CodeByMrFinchum/pypi dist/*
|
||||||
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/*
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue