Change the default font + other little things

This commit is contained in:
Greg Burri 2020-05-12 23:14:42 +02:00
parent dcf7523ccf
commit 3ebbe8172b
16 changed files with 48 additions and 28 deletions

View file

@ -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"