projects
/
recipes.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Initial model + some various changes
[recipes.git]
/
deploy.ps1
diff --git
a/deploy.ps1
b/deploy.ps1
index
5a11697
..
9a47e6b
100644
(file)
--- 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/"
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 "chmod u+x recipes/recipes"
-Invoke-SSH "strip recipes/recipes"
Invoke-SSH "sudo systemctl start recipes"
Write-Output "Deployment finished"
Invoke-SSH "sudo systemctl start recipes"
Write-Output "Deployment finished"