projects
/
rup.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Automatically create a default file config if it doesn't exist.
[rup.git]
/
deploy.ps1
diff --git
a/deploy.ps1
b/deploy.ps1
index
31b5a82
..
b03e439
100755
(executable)
--- a/
deploy.ps1
+++ b/
deploy.ps1
@@
-4,12
+4,11
@@
if ($args.Count -lt 1) {
exit 1
}
exit 1
}
-
-systemctl --user stop www-rouleunpet.service
-
git pull
cargo build --release
git pull
cargo build --release
+systemctl --user stop www-rouleunpet.service
+
$destination=$args[0]
if (!(Test-Path -Path $destination)) {
$destination=$args[0]
if (!(Test-Path -Path $destination)) {