diff --git a/.github/workflows/deploy-docsite.yml b/.github/workflows/deploy-docsite.yml index 72c6973c0..5151b2ad4 100644 --- a/.github/workflows/deploy-docsite.yml +++ b/.github/workflows/deploy-docsite.yml @@ -42,10 +42,8 @@ jobs: - name: Build Storybook run: yarn build-storybook - # Copy the storybook static site into the docsite output and copy the assets from the main repo into the assets dir of the docsite output. - # It needs to be in assets/assets because assets/ gets served from the / root of the site and storybook expects to find assets in /assets/ - - name: Copy Storybook to docs - run: cp -r storybook-static docs/build/storybook && cp -r assets docs/build/assets/assets + - name: Copy Storybook to docsite output + run: cp -r storybook-static docs/build/storybook - name: Upload Build Artifact # Only upload the build artifact when pushed to the main branch if: github.event_name == 'push' && github.ref == 'refs/heads/main'