From 2fc51b6ca7a5cd39e8802864986d91a87f997a52 Mon Sep 17 00:00:00 2001 From: fiatjaf Date: Wed, 29 Nov 2023 11:00:17 -0300 Subject: [PATCH] personal deploy script on justfile because why not. --- justfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/justfile b/justfile index c4f77a4..05f0de0 100644 --- a/justfile +++ b/justfile @@ -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'