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