diff --git a/.build/build.sh b/.build/build.sh new file mode 100644 index 0000000..b6c71e7 --- /dev/null +++ b/.build/build.sh @@ -0,0 +1,6 @@ +BUILD_PATH=$1 + +cd $BUILD_PATH || exit 1 + +yarn install +yarn build diff --git a/.build/deploy.sh b/.build/deploy.sh new file mode 100644 index 0000000..32fb0fd --- /dev/null +++ b/.build/deploy.sh @@ -0,0 +1,6 @@ +BUILD_PATH=$1 +DEPLOY_PATH=$2 + +# copy all dist files to deploy path +rsync $BUILD_PATH/dist $DEPLOY_PATH +