projects
/
recipes.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b17eb74
)
Improve the order of the deploy process
author
Grégory Burri
<gregory.burri@matisa.ch>
Mon, 12 Aug 2019 11:19:06 +0000
(13:19 +0200)
committer
Grégory Burri
<gregory.burri@matisa.ch>
Mon, 12 Aug 2019 11:19:06 +0000
(13:19 +0200)
deploy.ps1
patch
|
blob
|
history
diff --git
a/deploy.ps1
b/deploy.ps1
index
5ef2355
..
e066f1d
100644
(file)
--- 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)) {