system-praktyk-front/deploy-stg.sh
2020-11-18 19:29:58 +01:00

8 lines
210 B
Bash

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