BUILD_PATH=$1 DEPLOY_PATH=$2 # copy all dist files to deploy path rsync -avz $BUILD_PATH/public/* $DEPLOY_PATH rsync -avz $BUILD_PATH/build/* $DEPLOY_PATH