Improve the order of the deploy process

This commit is contained in:
Grégory Burri 2019-08-12 13:19:06 +02:00
parent b17eb74c81
commit c77e8d09e7

View file

@ -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)) {