Fix parameters in netlify cli script (#2258)

* Fix parameters in netlify cli script
* Use node-modules linker when deploying to netlify

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
Tilman Vatteroth 2022-07-31 00:39:49 +02:00 committed by GitHub
parent 27fc0764fa
commit b008cac781
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 14 additions and 8 deletions

View file

@ -7,6 +7,8 @@
set -e
echo 'Patch yarnrc to use node_modules'
sed -i "s/nodeLinker: pnp/nodeLinker: node-modules/" .yarnrc.yml
echo 'Patch intro.md to include netlify banner.'
cp netlify/intro.md public/mock-public/intro.md
echo 'Patch motd.md to include privacy policy.'