Skip to content

Commit

Permalink
chore: only publish package on main
Browse files Browse the repository at this point in the history
  • Loading branch information
arjendev committed Dec 8, 2023
1 parent cccccd2 commit 47683c5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ jobs:
poetry version 0.0.0.alpha${{ github.run_number}}
poetry build
- name: Publish package distributions to PyPI
if: github.ref == 'refs/heads/main'
uses: pypa/gh-action-pypi-publish@release/v1
with:
packages-dir: ./dist

0 comments on commit 47683c5

Please sign in to comment.