diff --git a/.github/workflows/publish-storybook.yml b/.github/workflows/publish-storybook.yml index 4f5e323e85..d74d4e77a1 100644 --- a/.github/workflows/publish-storybook.yml +++ b/.github/workflows/publish-storybook.yml @@ -22,13 +22,24 @@ jobs: run: | yarn lerna run build --include-dependencies yarn lerna run --scope monday-ui-react-core build-storybook + yarn lerna run --scope vibe-storybook-components build-storybook cd packages/core/static_storybook echo "style.monday.com" > ./CNAME env: NODE_AUTH_TOKEN: ${{ secrets.npm_token }} + - name: Push storybook-blocks Storybook to Github Pages + if: success() + uses: JamesIves/github-pages-deploy-action@v4.5.0 + with: + folder: packages/storybook-blocks/storybook-static + branch: gh-pages + target-folder: storybook-blocks + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Push core Storybook to Github Pages uses: JamesIves/github-pages-deploy-action@v4.5.0 with: + clean-exclude: storybook-blocks/* folder: packages/core/static_storybook branch: gh-pages env: