👷(ci) put storybook build in a gh-pages sub folder

Our main goal doing this is to allow us to have multiple static build
standing next to each other on our gh-pages.
This commit is contained in:
Nathan Vasse
2024-02-14 15:21:46 +01:00
committed by NathanVss
parent 9795b7184b
commit def859ee0b
6 changed files with 16 additions and 7 deletions

View File

@@ -13,7 +13,9 @@
"test-ci": "turbo run test-ci",
"lint": "turbo run lint",
"deploy": "turbo run deploy",
"format": "prettier --write \"**/*.{ts,tsx,md,json,cjs,js}\""
"format": "prettier --write \"**/*.{ts,tsx,md,json,cjs,js}\"",
"predeploy-ghpages": "./scripts/predeploy-ghpages",
"deploy-ghpages": "storybook-to-ghpages --existing-output-dir ./ghpages-output"
},
"devDependencies": {
"cross-env": "7.0.3",