Skip to content

Commit

Permalink
ci: disable package publishing on non-main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
arjendev committed Dec 8, 2023
1 parent 9ab2400 commit 44e3a5f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,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 44e3a5f

Please sign in to comment.