From c77e8d09e7b5a1adcb195ff723ffdbceb7e52cb6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Gr=C3=A9gory=20Burri?= Date: Mon, 12 Aug 2019 13:19:06 +0200 Subject: [PATCH] Improve the order of the deploy process --- deploy.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)) { -- 2.43.0