diff --git a/.github/workflows/publish_pages.yml b/.github/workflows/publish_pages.yml index 8a80f04423..d42c954823 100644 --- a/.github/workflows/publish_pages.yml +++ b/.github/workflows/publish_pages.yml @@ -23,13 +23,15 @@ jobs: - name: Install dependencies run: yarn install - - name: Build Storybook - run: yarn workspace mit-open build-storybook + - name: Build + run: | + yarn workspace gh-pages build && \ + yarn workspace mit-open build-storybook --output-dir ./frontends/gh-pages/build/static/storybook - name: Upload artifact uses: actions/upload-pages-artifact@v3 with: - path: ./frontends/mit-open/storybook-static + path: ./frontends/gh-pages/build # Deploy job deploy: