personal deploy script on justfile because why not.

This commit is contained in:
fiatjaf 2023-11-29 11:00:17 -03:00
parent 2811e5a305
commit 2fc51b6ca7
No known key found for this signature in database
GPG Key ID: BAD43C4BE5C1A3A1

View File

@ -3,3 +3,8 @@ dev:
build:
CC=musl-gcc go build -ldflags='-s -w -linkmode external -extldflags "-static"' -o ./khatru-invite
deploy: build
ssh root@turgot 'systemctl stop pyramid';
scp khatru-invite turgot:pyramid/khatru-invite
ssh root@turgot 'systemctl start pyramid'