stacker.news/.platform/hooks/predeploy/00_build.sh

16 lines
213 B
Bash
Raw Normal View History

2021-06-04 22:10:32 +00:00
#!/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