X-Git-Url: http://git.euphorik.ch/?p=recipes.git;a=blobdiff_plain;f=deploy.ps1;h=527f5321d26a207af8b687e33eb1c5084ca7d2a5;hp=e066f1d6128c10c1f739242d23405a5381c5f86a;hb=07df45487b358683b69c46640d73525974e18d54;hpb=c77e8d09e7b5a1adcb195ff723ffdbceb7e52cb6 diff --git a/deploy.ps1 b/deploy.ps1 index e066f1d..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 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