From 9c16c07b1383ecfad669ce9b7731de08411220b1 Mon Sep 17 00:00:00 2001 From: Evan Simkowitz Date: Wed, 6 Nov 2024 11:25:18 -0800 Subject: [PATCH] Final assets fix? --- .github/workflows/deploy-docsite.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy-docsite.yml b/.github/workflows/deploy-docsite.yml index 462260fa9b..d2a5237be3 100644 --- a/.github/workflows/deploy-docsite.yml +++ b/.github/workflows/deploy-docsite.yml @@ -32,8 +32,10 @@ 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 + run: cp -r storybook-static docs/build/storybook && cp -r assets docs/build/assets/assets - name: Upload Build Artifact uses: actions/upload-pages-artifact@v3 with: