X-Git-Url: http://git.euphorik.ch/?p=recipes.git;a=blobdiff_plain;f=deploy.ps1;fp=deploy.ps1;h=9a47e6b39907434e898aeff37fa2669dcbb8dafc;hp=5a1169784a5cca5bf8bdcad6795e1d971d014620;hb=108476e3554ea3a25dca5b5ab260f38c1e734221;hpb=a080d19cb9076780db9e86325b2ab617886e2a5f diff --git a/deploy.ps1 b/deploy.ps1 index 5a11697..9a47e6b 100644 --- a/deploy.ps1 +++ b/deploy.ps1 @@ -38,8 +38,9 @@ Copy-SSH -source "./target/arm-unknown-linux-gnueabihf/release/recipes" -destina Invoke-SSH "rm -rf recipes/static" Copy-SSH -source "./backend/static/" -destination "~/recipes/" +Copy-SSH -source "./backend/sql/" -destination "~/recipes/" + Invoke-SSH "chmod u+x recipes/recipes" -Invoke-SSH "strip recipes/recipes" Invoke-SSH "sudo systemctl start recipes" Write-Output "Deployment finished"