From 91921404056a6fe8bd72d3d7367bc7c3529eac6d Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Wed, 20 Nov 2024 03:19:51 +0100 Subject: [PATCH] update ssh config in makefile --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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