Skip to content

Commit

Permalink
ensure the make publish runs only on main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
zhukovgreen committed Oct 18, 2023
1 parent 93e3629 commit 10a9a36
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 @@ -42,6 +42,7 @@ jobs:
run: make publish
if: |
startsWith(github.ref, 'refs/tags/') &&
github.ref == 'refs/heads/main' &&
matrix.python-version == '3.8'
env:
PYPI_UNAME: __token__
Expand Down

0 comments on commit 10a9a36

Please sign in to comment.