diff --git a/.gitea/workflows/action.yaml b/.gitea/workflows/action.yaml index 0873f206..79686358 100644 --- a/.gitea/workflows/action.yaml +++ b/.gitea/workflows/action.yaml @@ -55,7 +55,7 @@ jobs: mv dist/* ../dist - name: Upload Package to Gitea PyPI - if: github.ref == 'refs/heads/main' && contains(github.event.head_commit.message, 'build and publish') + if: github.ref == 'refs/heads/master' && contains(github.event.head_commit.message, 'build and publish') env: TWINE_USERNAME: "__token__" # Username for Twine when using token-based auth TWINE_PASSWORD: ${{ secrets.PIP_REPOSITORY_API_TOKEN }} # Use the secret for authentication