chore: More deployment pipelines in Justfile
This commit is contained in:
4
Justfile
4
Justfile
@@ -22,6 +22,10 @@ build:
|
|||||||
deploy: build
|
deploy: build
|
||||||
scp -r dist/* {{ user }}@{{ host }}:{{ www-root }}/
|
scp -r dist/* {{ user }}@{{ host }}:{{ www-root }}/
|
||||||
|
|
||||||
|
# Deploy to chimaera.malzahn.lan, skipping the books/ directory.
|
||||||
|
deploy-chimaera: build
|
||||||
|
rsync -av --exclude='books/' dist/ admin@chimaera.malzahn.lan:/home/admin/caddy/public_html/fabula/
|
||||||
|
|
||||||
# Build the share service as a static binary for the deploy host.
|
# Build the share service as a static binary for the deploy host.
|
||||||
build-server:
|
build-server:
|
||||||
cd server && CGO_ENABLED=0 GOOS=linux GOARCH={{ go-arch }} go build -o share-svc .
|
cd server && CGO_ENABLED=0 GOOS=linux GOARCH={{ go-arch }} go build -o share-svc .
|
||||||
|
|||||||
Reference in New Issue
Block a user