update my personal deploy script.

This commit is contained in:
fiatjaf 2024-07-08 09:09:17 -03:00
parent a78ab550c2
commit 86641a6271

View File

@ -5,6 +5,6 @@ build:
CC=musl-gcc go build -ldflags='-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'
ssh root@cantillon 'systemctl stop pyramid';
scp khatru-invite cantillon:pyramid/khatru-invite
ssh root@cantillon 'systemctl start pyramid'