mirror of
https://github.com/aljazceru/njump.git
synced 2026-02-22 14:34:37 +01:00
do not strip debugger stuff from deploy binary.
This commit is contained in:
2
justfile
2
justfile
@@ -7,7 +7,7 @@ build: tailwind
|
||||
go build -o ./njump
|
||||
|
||||
deploy:
|
||||
GOOS=linux GOARCH=amd64 go build -ldflags='-s -w' -o ./njump
|
||||
GOOS=linux GOARCH=amd64 go build -o ./njump
|
||||
rsync --progress njump njump:njump/njump-new
|
||||
ssh njump 'systemctl stop njump'
|
||||
ssh njump 'mv njump/njump-new njump/njump'
|
||||
|
||||
Reference in New Issue
Block a user