Skip to content

Commit

Permalink
Trigger workflow only when pushed to main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
ishan121028 committed Oct 11, 2023
1 parent 0c722fa commit 633ba4e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/publish-to-test-pypi.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
name: Publish Python 🐍 distribution 📦 to PyPI and TestPyPI

on: push

on:
push:
branches:
- main
- 'releases/**'

jobs:
build:
name: Build distribution 📦
Expand Down

0 comments on commit 633ba4e

Please sign in to comment.