diff --git a/Justfile b/Justfile index 4cd6b11..ec72dfe 100644 --- a/Justfile +++ b/Justfile @@ -22,6 +22,10 @@ build: deploy: build 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-server: cd server && CGO_ENABLED=0 GOOS=linux GOARCH={{ go-arch }} go build -o share-svc .