build: split out deploy target for local use
Alan Pearce alan@alanpearce.eu
Sun, 05 Jan 2025 12:32:34 +0100
1 files changed, 3 insertions(+), 1 deletions(-)
jump to
M justfile → justfile
@@ -32,7 +32,9 @@ systemfd -s https::{{ listen_address }}:{{ tls_port }} -s http::{{ listen_address }}:{{ port }} -- modd ci: build check-links -cd *DEPLOY_FLAGS: +cd *DEPLOY_FLAGS: && (deploy DEPLOY_FLAGS) fly auth docker + +deploy *DEPLOY_FLAGS: templ generate fly deploy --image $(KO_DOCKER_REPO={{ docker_registry }} ko build --sbom none --bare --tags {{ docker-tag }} ./cmd/server) {{ DEPLOY_FLAGS }}