Fix bug in workflows
build and publish
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user