diff --git a/Makefile b/Makefile index 7af342a..7e98f43 100644 --- a/Makefile +++ b/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