From 12d667ed28cdda4bda48d724e587ab75d87747b0 Mon Sep 17 00:00:00 2001 From: Benjamin Labrecque Date: Mon, 27 Jul 2026 13:12:00 +0200 Subject: [PATCH] chore: use sls-gitea user and corresponding token --- .gitea/workflows/release.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 0f50593..80a9946 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -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