X-Git-Url: http://git.euphorik.ch/?a=blobdiff_plain;f=deploy.nu;h=b8fb962b4cb865276fe5b922c4ef49bb512bda76;hb=95d52b9d01c9894acc15e90d0e4be81a8df352ed;hp=db0e16b6a42b8d61fe8b2861e8c7e8abded8e1be;hpb=c01bb7cc2e3f48ed1faf5e699726b10963b819c2;p=stakingWatchdog.git diff --git a/deploy.nu b/deploy.nu index db0e16b..b8fb962 100644 --- a/deploy.nu +++ b/deploy.nu @@ -27,9 +27,9 @@ def main [host: string, destination: string, ssh_key: path] { 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