mirror of
https://github.com/Crocmagnon/lyon-transports.git
synced 2024-12-21 11:31:51 +01:00
update ssh config in makefile
This commit is contained in:
parent
a8d7cf35c5
commit
9192140405
1 changed files with 3 additions and 3 deletions
6
Makefile
6
Makefile
|
@ -7,9 +7,9 @@ build-linux: out
|
|||
GOOS=linux GOARCH=amd64 go build -o ./out/lyon-transports-linux-amd64 ./
|
||||
|
||||
deploy: build-linux
|
||||
ssh ubuntu-no-tmux "sudo systemctl stop lyon-transports.service"
|
||||
scp ./out/lyon-transports-linux-amd64 ubuntu-no-tmux:/mnt/data/lyon-transports/
|
||||
ssh ubuntu-no-tmux "sudo systemctl start lyon-transports.service"
|
||||
ssh ubuntu "sudo systemctl stop lyon-transports.service"
|
||||
scp ./out/lyon-transports-linux-amd64 ubuntu:/mnt/data/lyon-transports/
|
||||
ssh ubuntu "sudo systemctl start lyon-transports.service"
|
||||
|
||||
out:
|
||||
mkdir -p out
|
||||
|
|
Loading…
Reference in a new issue