mirror of
https://github.com/wavetermdev/waveterm.git
synced 2025-01-02 18:39:05 +01:00
Remove unnecessary copy (#1220)
This commit is contained in:
parent
ed8d3c179c
commit
e478a86bf5
6
.github/workflows/deploy-docsite.yml
vendored
6
.github/workflows/deploy-docsite.yml
vendored
@ -42,10 +42,8 @@ jobs:
|
|||||||
|
|
||||||
- name: Build Storybook
|
- name: Build Storybook
|
||||||
run: yarn 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.
|
- name: Copy Storybook to 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/
|
run: cp -r storybook-static docs/build/storybook
|
||||||
- name: Copy Storybook to docs
|
|
||||||
run: cp -r storybook-static docs/build/storybook && cp -r assets docs/build/assets/assets
|
|
||||||
- name: Upload Build Artifact
|
- name: Upload Build Artifact
|
||||||
# Only upload the build artifact when pushed to the main branch
|
# Only upload the build artifact when pushed to the main branch
|
||||||
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
|
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
|
||||||
|
Loading…
Reference in New Issue
Block a user