system-praktyk-front/deploy-dev.sh
2020-11-15 15:04:47 +01:00

8 lines
210 B
Bash

BASEDIR=$(dirname "$0")
npx webpack --mode production --progress || exit $?
rsync -azv $BASEDIR/public/* system-praktyk@kadet.net:~/dev/front
rsync -azv $BASEDIR/build/* system-praktyk@kadet.net:~/dev/front