my personal deployment script.

This commit is contained in:
fiatjaf 2021-11-28 17:01:29 -03:00
parent 333d530901
commit c64d3e44dc

@ -1,2 +1,7 @@
relayer: $(shell find . -name "*.go")
go build -ldflags="-s -w" -o ./relayer
deploy: relayer
ssh root@turgot 'systemctl stop relayer'
scp relayer turgot:relayer/relayer
ssh root@turgot 'systemctl start relayer'