fix deploy script

This commit is contained in:
Radon 2025-08-20 16:19:29 -05:00
parent 2b07f43b56
commit da25a47103

View File

@ -15,6 +15,9 @@ main() {
echo "Building binary..."
go build -o "$BINARY_NAME"
echo "Killing process on remote server..."
sshpass -e ssh "$DEPLOY_USERNAME@$DEPLOY_ADDRESS" -t "pkill $BINARY_NAME"
echo "Deploying files..."
sshpass -e scp -r ./* "$DEPLOY_USERNAME@$DEPLOY_ADDRESS:$DEPLOY_PATH"