X-Git-Url: http://git.euphorik.ch/index.cgi?a=blobdiff_plain;f=deploy.ps1;h=b03e439c45546fb0127deda019491b5b5dd03d8a;hb=HEAD;hp=31b5a829a709d2742ed00efa49d782fcad33e8ab;hpb=f43bab0b61b36e53135569727476fc6f39a3deec;p=rup.git 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)) {