We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84c5786 commit a79b4e0Copy full SHA for a79b4e0
.github/workflows/publish.yml
@@ -50,8 +50,7 @@ jobs:
50
51
pypi-publish:
52
name: Publish streamlit-scroll-navigation to PyPI
53
- if: startsWith(github.ref, 'refs/tags/') # Only publish on tagged commits
54
- if: github.ref == 'refs/heads/main' # Only publish on main branch
+ if: startsWith(github.ref, 'refs/tags/') && github.ref == 'refs/heads/main' # Only publish on tagged commits and on main branch
55
needs: build
56
runs-on: ubuntu-latest
57
environment:
0 commit comments