Improve the order of the deploy process
This commit is contained in:
parent
b17eb74c81
commit
c77e8d09e7
1 changed files with 2 additions and 2 deletions
|
|
@ -4,11 +4,11 @@ if ($args.Count -lt 1) {
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
systemctl --user stop www-recipes.service
|
|
||||||
|
|
||||||
git pull
|
git pull
|
||||||
cargo build --release
|
cargo build --release
|
||||||
|
|
||||||
|
systemctl --user stop www-recipes.service
|
||||||
|
|
||||||
$destination=$args[0]
|
$destination=$args[0]
|
||||||
|
|
||||||
if (!(Test-Path -Path $destination)) {
|
if (!(Test-Path -Path $destination)) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue