X-Git-Url: http://git.euphorik.ch/?a=blobdiff_plain;f=deploy.ps1;h=527f5321d26a207af8b687e33eb1c5084ca7d2a5;hb=dc6a46bbd883e42842153a17973be1239c1f6a0e;hp=7b4b5568a1c6b5f92dd47ea4983784091139dc9e;hpb=33493c8991d8971450fc0eb5114152c9a0faa6b1;p=recipes.git diff --git a/deploy.ps1 b/deploy.ps1 index 7b4b556..527f532 100644 --- a/deploy.ps1 +++ b/deploy.ps1 @@ -15,13 +15,14 @@ if (!(Test-Path -Path $destination)) { New-Item -ItemType directory -Path $destination } +strip target/release/recipes Copy-Item target/release/recipes -Destination $destination Copy-Item backend/static -Destination $destination -Recurse -Force # Do not overwrite the configuration. if (!(Test-Path -Path $destination/conf.ron)) { - Copy-Item conf.ron -Destination $destination + Copy-Item backend/conf.ron -Destination $destination } systemctl --user start www-recipes.service