File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed
Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 1414 - ' **/package*.json'
1515 tags-ignore :
1616 - v*
17+
1718jobs :
18- website :
19+ canary :
1920 runs-on : ubuntu-latest
2021 steps :
2122 - name : Clone repository
@@ -51,11 +52,11 @@ jobs:
5152
5253 - run : git reset --hard
5354
54- - name : Build web site
55+ - name : Build documentation
5556 run : |
5657 yarn website-canary
5758
58- - name : Deploy 🚀
59+ - name : Deploy canary documentation
59606061 with :
6162 BRANCH : docs # The branch the action should deploy to.
Original file line number Diff line number Diff line change @@ -14,5 +14,7 @@ mv www/public docs/$VERSION
1414# Build Storybooks
1515
1616# @TODO Check if storybook is already built and re-use
17- [ -d " storybook/storybook-static" ] && yarn workspace storybook build
17+ if [ ! -d storybook/storybook-static ]; then
18+ yarn workspace storybook build
19+ fi
1820cp -r storybook/storybook-static docs/$VERSION /storybook
You can’t perform that action at this time.
0 commit comments