X-Git-Url: http://git.euphorik.ch/?p=rup.git;a=blobdiff_plain;f=deploy.ps1;fp=deploy.ps1;h=b03e439c45546fb0127deda019491b5b5dd03d8a;hp=31b5a829a709d2742ed00efa49d782fcad33e8ab;hb=7c5355f10f59bd93227eba138bfd7735225e0755;hpb=331dddcaef970033db01dc9d239818417ed2e750 diff --git a/deploy.ps1 b/deploy.ps1 index 31b5a82..b03e439 100755 --- a/deploy.ps1 +++ b/deploy.ps1 @@ -4,12 +4,11 @@ if ($args.Count -lt 1) { exit 1 } - -systemctl --user stop www-rouleunpet.service - git pull cargo build --release +systemctl --user stop www-rouleunpet.service + $destination=$args[0] if (!(Test-Path -Path $destination)) {