diff --git a/deploy.sh b/deploy.sh new file mode 100755 index 0000000..d941cc6 --- /dev/null +++ b/deploy.sh @@ -0,0 +1,11 @@ +#!/usr/bin/env bash + +set -euo pipefail + +DEPLOY_PATH="/var/www/odysseus/adminui/" +SOURCE_PATH="dist/" + +npm run build + +rsync -avzr --delete "$SOURCE_PATH" "$DEPLOY_PATH" +echo "Deployed to $DEPLOY_PATH"