aaronjy-me/deploy.sh
2025-03-20 19:23:13 +00:00

13 lines
No EOL
204 B
Bash
Executable file

source ./deploy-vars.sh
echo "Host: $SSH_HOST"
echo "Path: $SSH_UPLOAD_PATH"
echo "Building..."
npm run build
echo "Deploying..."
rsync -r --delete ./out/ root@$SSH_HOST:$SSH_UPLOAD_PATH
echo "Done!"