Skip to content

Commit

Permalink
Fixed deploy:sb:gha command + added deploy:sb:gha:fast for faster tes…
Browse files Browse the repository at this point in the history
…ting + don't deploy to all regions to avoid Vercel error
  • Loading branch information
Vadorequest committed Jan 11, 2021
1 parent f6d01a6 commit f5e4923
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
"deploy:all:production:simple": "yarn deploy:customer1:production:simple && yarn deploy:customer2:production:simple",
"deploy:all:all": "yarn deploy:all && yarn deploy:all:production",
"deploy:ci:gha": "yarn vercel:cleanup && yarn vercel:deploy --local-config=vercel.${CUSTOMER_REF}.staging.json",
"deploy:sb:gha": "yarn vercel:cleanup && yarn storybook:export && vercel storybook-static --local-config=vercel.storybook.json",
"deploy:sb:gha": "yarn vercel:cleanup && yarn storybook:export && vercel storybook-static --local-config=vercel.storybook.json --confirm --debug",
"deploy:sb:gha:fast": "yarn vercel:cleanup && vercel storybook-static --local-config=vercel.storybook.json --confirm --debug",
"deploy:customer:production:simple": "yarn vercel:cleanup && yarn vercel:deploy --local-config=vercel.${CUSTOMER_REF}.production.json --prod",
"deploy:customer1:all": "yarn deploy:customer1 && yarn deploy:customer1:production",
"deploy:customer1": "yarn vercel:cleanup && yarn vercel:deploy --local-config=vercel.customer1.staging.json",
Expand Down
3 changes: 0 additions & 3 deletions vercel.storybook.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,5 @@
"alias": [
"nrn-v2-mst-aptd-at-lcz-sty-storybook"
],
"regions": [
"all"
],
"public": false
}

1 comment on commit f5e4923

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.