Skip to content

Commit fd54f35

Browse files
fix CD to only publish when there are changes to pyproject.toml
1 parent c1ba589 commit fd54f35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/cd.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
run: uv build
4141

4242
- name: Publish to PyPI
43-
if: contains(github.event.head_commit.modified, 'nortech/')
43+
if: contains(github.event.head_commit.modified, 'pyproject.toml')
4444
env:
4545
TWINE_USERNAME: __token__
4646
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}

0 commit comments

Comments
 (0)