try platform hook
This commit is contained in:
parent
3d87c18073
commit
71a22f9a41
16
.platform/hooks/predeploy/00_build.sh
Executable file
16
.platform/hooks/predeploy/00_build.sh
Executable file
@ -0,0 +1,16 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
echo installing yarn
|
||||||
|
|
||||||
|
# install yarn
|
||||||
|
sudo npm install yarn -g
|
||||||
|
|
||||||
|
echo link
|
||||||
|
|
||||||
|
# make sure it's in path
|
||||||
|
sudo ln -s "$(npm bin --global)"/yarn /usr/bin/yarn
|
||||||
|
|
||||||
|
echo try to build
|
||||||
|
|
||||||
|
# build it
|
||||||
|
yarn build
|
Loading…
x
Reference in New Issue
Block a user