X-Git-Url: http://git.euphorik.ch/?p=recipes.git;a=blobdiff_plain;f=deploy.ps1;h=e066f1d6128c10c1f739242d23405a5381c5f86a;hp=5ef235590f261ac515f13e8e8c26f06c3874085c;hb=c77e8d09e7b5a1adcb195ff723ffdbceb7e52cb6;hpb=b17eb74c81f53f841a2cfe70f03eee39ec3998fd diff --git a/deploy.ps1 b/deploy.ps1 index 5ef2355..e066f1d 100644 --- a/deploy.ps1 +++ b/deploy.ps1 @@ -4,11 +4,11 @@ if ($args.Count -lt 1) { exit 1 } -systemctl --user stop www-recipes.service - git pull cargo build --release +systemctl --user stop www-recipes.service + $destination=$args[0] if (!(Test-Path -Path $destination)) {