use scp instead of cp for easy deploy to server

This commit is contained in:
Colin McMillen 2019-10-04 09:23:55 -04:00
parent f8752567a8
commit 03850a9306

View File

@ -6,5 +6,5 @@ echo "deploying to $1"
mkdir -p $1 || exit
mkdir -p bundle/
python3 scripts/assets.py stitch-sprites $SNEJ_ROOT/bundle/spritesheet
cp -r index.html main.js bundle/ $1
scp -r index.html main.js bundle/ $1
echo "success!"