Skip to content

Commit

Permalink
[CSYS-396] Fix storybook static file (#62)
Browse files Browse the repository at this point in the history
* Fix storybook static file

* feat:  adding the TOML file for Netlify deploy

* fix: minor update at the Netlify

* fix: updating the publish directory @ netlify file

* Add dependsOn

* Fix syntax error

* set publish folder to storybook-static

* fix path to storybook-static folder

* Add space to trigger netlify

Co-authored-by: Juliana Barros Lima <judiembl@gmail.com>
  • Loading branch information
ddevdan and tiidadavena authored Dec 29, 2022
1 parent b0251ae commit 48a0f15
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
4 changes: 4 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# app netlify.toml
[build]
command = "npm run build"
publish = "apps/docs/storybook-static/"
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
"test": "npx turbo test",
"publish": "npx turbo publish"
}
}
}
8 changes: 7 additions & 1 deletion turbo.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
{
"$schema": "https://turbo.build/schema.json",
"pipeline": {
"build": {
"build": {
"dependsOn": [
"^build"
],
"outputs": ["apps/docs/storybook-static/**"]
},


"lint": {
"outputs": []
},
Expand Down

0 comments on commit 48a0f15

Please sign in to comment.