Compile frontend when deploying
This commit is contained in:
parent
1c79cc890d
commit
45ac5276d4
2 changed files with 17 additions and 3 deletions
|
|
@ -17,6 +17,11 @@ def main [host: string, destination: string, ssh_key: path] {
|
|||
scp ...$args
|
||||
}
|
||||
|
||||
cd frontend
|
||||
source frontend/deploy.nu
|
||||
main true
|
||||
cd ..
|
||||
|
||||
cargo test
|
||||
cargo build --target $target --release
|
||||
invoke_ssh [sudo systemctl stop recipes]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue