Deploy website using NOW_TOKEN

This commit is contained in:
Adam Miskiewicz 2017-09-06 14:59:22 -07:00
parent ba3fb1a7ee
commit 22b26ff6af
No known key found for this signature in database
GPG Key ID: EC62EB11EB5E47ED

View File

@ -6,8 +6,6 @@ set -e
# show where we are on the machine
pwd
echo $NOW_JSON_CONTENTS > ~/.now.json
cd website
npm run build
@ -16,4 +14,4 @@ NOW=`pwd`/node_modules/.bin/now
cd build
$NOW --force && sleep 5 && $NOW alias
$NOW -t $NOW_TOKEN --force && sleep 5 && $NOW alias