X-Git-Url: http://git.euphorik.ch/?p=rup.git;a=blobdiff_plain;f=deploy.ps1;h=a88318d940b8abda044d53084e78dce89a3740c3;hp=5edd2a41bdf6a6a6aebbe38816139c036d67974d;hb=c3ee58ede5ab40d77678d51c3a9a95d1dcb66279;hpb=6cc0700aa5b90500b620ca8dd5b2976892aee0a7 diff --git a/deploy.ps1 b/deploy.ps1 index 5edd2a4..a88318d 100755 --- 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 +}