Add deploy.sh
This commit is contained in:
parent
96c57f34d3
commit
472098179f
|
@ -21,6 +21,6 @@ rsync -v \
|
|||
./bin/Release/$dotnet_version/linux-x64/publish/* \
|
||||
$username@"$salimax_ip":~/salimax
|
||||
|
||||
echo -e "\n============================ Execute ============================\n"
|
||||
#echo -e "\n============================ Execute ============================\n"
|
||||
|
||||
sshpass -p "$root_password" ssh -o StrictHostKeyChecking=no -t "$username"@"$salimax_ip" "echo '$root_password' | sudo -S sh -c 'cd salimax && ./restart'" 2>/dev/null
|
||||
#sshpass -p "$root_password" ssh -o StrictHostKeyChecking=no -t "$username"@"$salimax_ip" "echo '$root_password' | sudo -S sh -c 'cd salimax && ./restart'" 2>/dev/null
|
||||
|
|
Loading…
Reference in New Issue