moved deploy to script
This commit is contained in:
parent
87247c3494
commit
2bfe631767
7
Makefile
7
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
|
||||
|
|
Loading…
Reference in New Issue