Skip to content

Commit

Permalink
šŸ’š Constrain publishing to PyPi only when push or pull requests involvā€¦
Browse files Browse the repository at this point in the history
ā€¦e the main branch
  • Loading branch information
ferzcam committed Nov 19, 2024
1 parent 24afae0 commit 30d676f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@

name: Publish Python šŸ distribution šŸ“¦ to PyPI and TestPyPI

on: push
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build:
Expand Down

0 comments on commit 30d676f

Please sign in to comment.