cargo zigbuild --target $target
}
- # invoke_ssh [sudo systemctl stop $app_name]
+ invoke_ssh $"sudo systemctl stop ($app_name)"
copy_ssh ./target/($target)/($build)/($app_name) $destination
invoke_ssh $"chmod u+x ($destination)/($app_name)"
- # invoke_ssh [sudo systemctl start $app_name]
+ invoke_ssh $"sudo systemctl start ($app_name)"
+
print "Deployment finished"
}
\ No newline at end of file