Change the default font + other little things
This commit is contained in:
parent
dcf7523ccf
commit
3ebbe8172b
16 changed files with 48 additions and 28 deletions
10
deploy.ps1
10
deploy.ps1
|
|
@ -31,13 +31,15 @@ function Copy-SSH([string]$source, [string]$destination)
|
|||
|
||||
cargo build --target arm-unknown-linux-gnueabihf --release
|
||||
|
||||
# $a = Invoke-Expression ($ssh_command + "ls")
|
||||
Invoke-SSH("sudo systemctl stop recipes")
|
||||
Invoke-SSH "sudo systemctl stop recipes"
|
||||
|
||||
Copy-SSH -source "./target/arm-unknown-linux-gnueabihf/release/recipes" -destination "~/recipes/"
|
||||
|
||||
Invoke-SSH "rm -rf recipes/static"
|
||||
Copy-SSH -source "./backend/static/" -destination "~/recipes/"
|
||||
|
||||
Invoke-SSH("chmod u+x recipes/recipes")
|
||||
Invoke-SSH("sudo systemctl start recipes")
|
||||
Invoke-SSH "chmod u+x recipes/recipes"
|
||||
Invoke-SSH "strip recipes/recipes"
|
||||
Invoke-SSH "sudo systemctl start recipes"
|
||||
|
||||
Write-Output "Deployment finished"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue