We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c860df commit 1645112Copy full SHA for 1645112
.github/workflows/publish.yml
@@ -1,9 +1,6 @@
1
name: Publish to PyPI
2
3
on:
4
- push:
5
- tags:
6
- - 'v*' # Trigger on version tag push, e.g., v1.0.0
7
release:
8
types: [published] # Trigger when a release is published
9
workflow_dispatch: # Allow manual triggering
@@ -78,7 +75,7 @@ jobs:
78
75
publish:
79
76
needs: build
80
77
runs-on: ubuntu-latest
81
- if: github.event_name == 'release' || (github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v'))
+ if: github.event_name == 'release'
82
environment:
83
name: pypi
84
url: https://pypi.org/p/openchatbi
0 commit comments