mirror of
https://github.com/github-tijlxyz/khatru-pyramid.git
synced 2025-06-05 16:52:06 +00:00
make deploys parameterized.
This commit is contained in:
parent
01498a5914
commit
eb30f7c64f
8
justfile
8
justfile
@ -4,7 +4,7 @@ dev:
|
|||||||
build:
|
build:
|
||||||
CC=musl-gcc go build -ldflags='-linkmode external -extldflags "-static"' -o ./khatru-pyramid
|
CC=musl-gcc go build -ldflags='-linkmode external -extldflags "-static"' -o ./khatru-pyramid
|
||||||
|
|
||||||
deploy: build
|
deploy target: build
|
||||||
ssh root@cantillon 'systemctl stop pyramid';
|
ssh root@{{target}} 'systemctl stop pyramid';
|
||||||
scp khatru-invite cantillon:pyramid/khatru-invite
|
scp khatru-pyramid {{target}}:pyramid/khatru-invite
|
||||||
ssh root@cantillon 'systemctl start pyramid'
|
ssh root@{{target}} 'systemctl start pyramid'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user