projects
/
rup.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6cc0700
)
Do not overwrite configuration.
author
www-data
<www-data@ek>
Thu, 8 Aug 2019 08:25:12 +0000
(10:25 +0200)
committer
www-data
<www-data@ek>
Thu, 8 Aug 2019 08:25:12 +0000
(10:25 +0200)
deploy.ps1
patch
|
blob
|
history
diff --git
a/deploy.ps1
b/deploy.ps1
index
5edd2a4
..
a88318d
100755
(executable)
--- a/
deploy.ps1
+++ b/
deploy.ps1
@@
-9,6
+9,10
@@
if (!(Test-Path -Path $destination)) {
Copy-Item target/release/rup -Destination $destination
Copy-Item key.secret -Destination $destination
-Copy-Item conf.ron -Destination $destination
+
Copy-Item static -Destination $destination -Recurse -Force
+# Do not overwrite the configuration.
+if (!(Test-Path -Path $destination/conf.ron)) {
+ Copy-Item conf.ron -Destination $destination
+}