diff --git a/.gitea/workflows/action.yaml b/.gitea/workflows/action.yaml index ad87e88d..36b18191 100644 --- a/.gitea/workflows/action.yaml +++ b/.gitea/workflows/action.yaml @@ -43,6 +43,7 @@ jobs: mv dist/* ../dist - name: Upload Package to Gitea PyPI + if: startsWith(github.event.head_commit.message, 'RELEASE') env: TWINE_USERNAME: "__token__" # Username for Twine when using token-based auth TWINE_PASSWORD: ${{ secrets.PIP_REPOSITORY_API_TOKEN }} # Use the secret for authentication