Only publish storybook if we are on main

This commit is contained in:
Joseph Garrone 2024-09-23 04:36:00 +02:00
parent 43ef527810
commit 346fd7175f

View File

@ -37,7 +37,7 @@ jobs:
storybook:
runs-on: ubuntu-latest
if: github.event_name == 'push'
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
needs: test
steps:
- uses: actions/checkout@v4