Skip to content

Commit

Permalink
fix(publish) design system website (#209)
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaumechervetaxa authored and mergify[bot] committed May 3, 2019
1 parent 250f591 commit 79492e3
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@

.cache
.settings/
.vscode/
logs
*.log
npm-debug.log*
Expand Down
7 changes: 7 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"sonarlint.connectedMode.project": {
"projectKey": "AxaGuilDEv_react-toolkit",
"serverId": "sonarcloud"
},
"eslint.autoFixOnSave": true
}
4 changes: 4 additions & 0 deletions scripts/publish-docs.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ try {
'utf8'
);

fs.copySync(
`./storybook/design-system/dist`,
`./tmp/AxaGuilDEv.github.io/react-toolkit/latest/design-system`
);
fs.copySync(
`./storybook/styles/distDemo`,
`./tmp/AxaGuilDEv.github.io/react-toolkit/latest/design`
Expand Down

0 comments on commit 79492e3

Please sign in to comment.