From 346fd7175faad17b36f66f2abcc968a3c9899f45 Mon Sep 17 00:00:00 2001 From: Joseph Garrone Date: Mon, 23 Sep 2024 04:36:00 +0200 Subject: [PATCH] Only publish storybook if we are on main --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 845b6230..9fca0a23 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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