Skip to content

Commit cd38617

Browse files
committed
Fix publish.yml condition pypa
1 parent ec87592 commit cd38617

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050

5151
pypi-publish:
5252
name: Publish streamlit-scroll-navigation to PyPI
53-
if: startsWith(github.ref, 'refs/tags/') && github.ref == 'refs/heads/main' # Only publish on tagged commits and on main branch
53+
if: startsWith(github.ref, 'refs/tags/') # Only publish on tagged commits and on main branch
5454
needs: build
5555
runs-on: ubuntu-latest
5656
environment:

0 commit comments

Comments
 (0)