2021-08-20 12:32:45 +00:00
|
|
|
satdress: $(shell find . -name "*.go") index.html go.mod
|
2021-08-13 16:21:00 +00:00
|
|
|
CC=$$(which musl-gcc) go build -ldflags='-s -w -linkmode external -extldflags "-static"' -o ./satdress
|
|
|
|
|
|
|
|
deploy: satdress
|
2021-08-15 01:08:44 +00:00
|
|
|
ssh root@hulsmann 'systemctl stop bitmia tinytip payaddress paymentlink'
|
2021-08-13 16:21:00 +00:00
|
|
|
scp satdress hulsmann:satdress/satdress
|
2021-08-15 01:08:44 +00:00
|
|
|
ssh root@hulsmann 'systemctl start bitmia tinytip payaddress paymentlink'
|