mirror of
https://github.com/Crocmagnon/lyon-transports.git
synced 2024-12-21 19:41:49 +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 ./
|
GOOS=linux GOARCH=amd64 go build -o ./out/lyon-transports-linux-amd64 ./
|
||||||
|
|
||||||
deploy: build-linux
|
deploy: build-linux
|
||||||
ssh ubuntu-no-tmux "sudo systemctl stop lyon-transports.service"
|
ssh ubuntu "sudo systemctl stop lyon-transports.service"
|
||||||
scp ./out/lyon-transports-linux-amd64 ubuntu-no-tmux:/mnt/data/lyon-transports/
|
scp ./out/lyon-transports-linux-amd64 ubuntu:/mnt/data/lyon-transports/
|
||||||
ssh ubuntu-no-tmux "sudo systemctl start lyon-transports.service"
|
ssh ubuntu "sudo systemctl start lyon-transports.service"
|
||||||
|
|
||||||
out:
|
out:
|
||||||
mkdir -p out
|
mkdir -p out
|
||||||
|
|
Loading…
Reference in a new issue