summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Winter <ik@erikwinter.nl>2021-05-15 14:10:56 +0200
committerErik Winter <ik@erikwinter.nl>2021-05-15 14:10:56 +0200
commit2bfe631767bef7b66ffcfd14df6e0497e5b6be47 (patch)
tree66baf5c45a96b032c8371cf6df15067b88a63357
parent87247c349458293517ddc203aef21f8a7390858a (diff)
moved deploy to script
-rw-r--r--Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 07d30c7..4d89a10 100644
--- a/Makefile
+++ b/Makefile
@@ -3,8 +3,5 @@ test:
deploy-service: test
go build -o gte-daemon ./cmd/daemon/service.go
- scp gte-daemon ewintr.nl:/home/erik/gte
- ssh ewintr.nl sudo /bin/chown gte:gte /home/erik/gte
- ssh ewintr.nl sudo /usr/sbin/service gte-daemon stop
- ssh ewintr.nl sudo /bin/mv /home/erik/gte /usr/local/bin/gte
- ssh ewintr.nl sudo /usr/sbin/service gte-daemon start
+ scp gte-daemon ewintr.nl:/home/erik/bin/gte-daemon
+ ssh ewintr.nl /home/erik/bin/deploy-gte-daemon.sh