Remove unnecessary copy (#1220)

This commit is contained in:
Evan Simkowitz 2024-11-06 11:59:32 -08:00 committed by GitHub
parent ed8d3c179c
commit e478a86bf5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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'