system-praktyk-front/.build/deploy.sh
2020-08-10 20:13:28 +02:00

8 lines
157 B
Bash
Executable File

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