From d64d0bceb81b8f15fa0af625b96edf75ab7cdcff Mon Sep 17 00:00:00 2001 From: www-data Date: Sun, 25 Aug 2019 22:52:19 +0200 Subject: [PATCH] Move the deploy script. --- backend/deploy.ps1 => deploy.ps1 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) rename backend/deploy.ps1 => deploy.ps1 (77%) diff --git a/backend/deploy.ps1 b/deploy.ps1 similarity index 77% rename from backend/deploy.ps1 rename to deploy.ps1 index e066f1d..527f532 100644 --- a/backend/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 static -Destination $destination -Recurse -Force +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 -- 2.43.0