chore: use sls-gitea user and corresponding token

This commit is contained in:
Benjamin Labrecque
2026-07-27 13:12:00 +02:00
parent c9c4de62d2
commit 12d667ed28
+5 -3
View File
@@ -22,9 +22,11 @@ jobs:
- name: Install twine
run: uv add twine
- name: Publish
env:
PYPI_INDEX_URL: "${{ env.GITHUB_SERVER_URL }}/api/packages/${{ env.GITHUB_REPOSITORY_OWNER }}/pypi"
run: |
uv run python -m twine upload dist/* \
--repository-url https://gitea.psi.ch/api/packages/sls/pypi \
--username armborst_f \
--password ${{ secrets.REGISTRY_TOKEN_ARMBORST_F }} \
--repository-url ${PYPI_INDEX_URL} \
--username ${{ github.repository_owner }}-gitea \
--password ${{ secrets.REGISTRY_TOKEN }} \
--verbose