Skip to content

Commit 5da1c2a

Browse files
committed
fixup! chore: setup multiple storybooks to deploy
1 parent 06d02b5 commit 5da1c2a

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/docsite-publish-ghpages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ jobs:
8585
- name: Upload Pages Artifact
8686
uses: actions/upload-pages-artifact@v3
8787
with:
88-
path: './apps/public-docsite-v9/dist/storybook/'
88+
path: './apps/public-docsite-v9/dist/'
8989

9090
deploy:
9191
runs-on: ubuntu-latest

apps/chart-docsite/project.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
"options": {
1919
"cwd": "apps/chart-docsite",
2020
"commands": [
21-
"cross-env DEPLOY_PATH=/charts/ storybook build --docs -o ../public-docsite-v9/dist/storybook/charts/",
22-
"node -r ../../scripts/ts-node/src/register ../../scripts/storybook/src/scripts/rewrite-title.ts --title 'Fluent UI Charts v9' --distPath ../public-docsite-v9/dist/storybook/charts/"
21+
"cross-env DEPLOY_PATH=/charts/ storybook build --docs -o ../public-docsite-v9/dist/charts/",
22+
"node -r ../../scripts/ts-node/src/register ../../scripts/storybook/src/scripts/rewrite-title.ts --title 'Fluent UI Charts v9' --distPath ../public-docsite-v9/dist/charts/"
2323
],
2424
"parallel": false
2525
}

apps/public-docsite-v9/project.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"react": {
1919
"cwd": "apps/public-docsite-v9",
2020
"env": { "DEPLOY_PATH": "/react/", "NODE_OPTIONS": "--max_old_space_size=3072" },
21-
"command": "storybook build -o ./dist/storybook/react --docs"
21+
"command": "storybook build -o ./dist/react --docs"
2222
}
2323
},
2424
"dependsOn": [
@@ -49,7 +49,7 @@
4949
"options": {
5050
"cwd": "apps/public-docsite-v9",
5151
"commands": [
52-
"node -r ../../scripts/ts-node/src/register ../../scripts/storybook/src/scripts/rewrite-title.ts --title 'Fluent UI React v9' --distPath ./dist/storybook/react/"
52+
"node -r ../../scripts/ts-node/src/register ../../scripts/storybook/src/scripts/rewrite-title.ts --title 'Fluent UI React v9' --distPath ./dist/react/"
5353
]
5454
}
5555
}

packages/web-components/project.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"deploy-website": {
99
"executor": "nx:run-commands",
1010
"options": {
11-
"command": "cross-env DEPLOY_PATH=/web-components/ yarn nx run web-components:build-storybook -o ../../apps/public-docsite-v9/dist/storybook/web-components"
11+
"command": "cross-env DEPLOY_PATH=/web-components/ yarn nx run web-components:build-storybook -o ../../apps/public-docsite-v9/dist/web-components"
1212
}
1313
}
1414
}

0 commit comments

Comments
 (0)