mirror of
https://github.com/github-tijlxyz/khatru-pyramid.git
synced 2025-07-22 13:15:28 +00:00
personal deploy script on justfile because why not.
This commit is contained in:
parent
2811e5a305
commit
2fc51b6ca7
5
justfile
5
justfile
@ -3,3 +3,8 @@ dev:
|
|||||||
|
|
||||||
build:
|
build:
|
||||||
CC=musl-gcc go build -ldflags='-s -w -linkmode external -extldflags "-static"' -o ./khatru-invite
|
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'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user