react-navigation/scripts/deploy-website.sh
2017-09-06 14:59:25 -07:00

18 lines
229 B
Bash
Executable File

#!/bin/sh
# abort the script if there is a non-zero error
set -e
# show where we are on the machine
pwd
cd website
npm run build
NOW=`pwd`/node_modules/.bin/now
cd build
$NOW -t $NOW_TOKEN --force && sleep 5 && $NOW alias