chore: More deployment pipelines in Justfile

This commit is contained in:
2026-06-30 00:09:07 -04:00
parent dbf3126f29
commit 6d7629794e

View File

@@ -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 .