docbrown/docs/netlify.toml
Andy Zhao 1fd0ec4041
Try yarn instead over npm for storybook deploys (#12376)
* Try yarn instead over npm

* Remove ignore flag and use default flag

* Add yarn version

* Remove --docs

* Use NPM :( we don't have a yarn.lock in app/javascript

* Use NPM :( we don't have a yarn.lock in app/javascript

* Updated base to root to use yarn

* hack the command with cd 🙃

* debuggng

* copy package.json and yarn.lock from root

* Set flag to use yarn explicitly

* Oops

* Try a different way

* Package.json not yarn.lock

* Maybe??

* Install yarn with npm then run yarn install??

* Add a Node version

* Try one more thing...

* Syntax error

* I think it's working...

* nvm it didn't work

* Use any 14.14 node version -- syntax correct maybe?

* Fix broken redirects smh

* Update redirects for storybook

* Remove unnecessary redirect rule

* Trigger notifications

* Trigger notifications

* Remove some unused comments
2021-02-26 10:30:56 -05:00

17 lines
363 B
TOML

[build]
command = "make"
[environment]
NETLIFY_USE_YARN = 1
# See <https://docs.netlify.com/routing/redirects/redirect-options/> for more options
[[redirects]]
from = "https://docs.dev.to"
to = "https://docs.forem.com"
status = 301
force = true
[[redirects]]
from = "https://docs.dev.to/*"
to = "https://docs.forem.com/:splat"
status = 301
force = true