1
0
mirror of https://github.com/nbd-wtf/satdress.git synced 2024-11-11 16:30:35 +00:00
satdress-mirror/Makefile
2021-08-20 09:32:45 -03:00

8 lines
369 B
Makefile

satdress: $(shell find . -name "*.go") index.html go.mod
CC=$$(which musl-gcc) go build -ldflags='-s -w -linkmode external -extldflags "-static"' -o ./satdress
deploy: satdress
ssh root@hulsmann 'systemctl stop bitmia tinytip payaddress paymentlink'
scp satdress hulsmann:satdress/satdress
ssh root@hulsmann 'systemctl start bitmia tinytip payaddress paymentlink'