about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2025-01-05 12:32:34 +0100
committerAlan Pearce2025-01-05 12:32:34 +0100
commit3ba6a311435bbb114b46fee8625dbab87c8a3e4c (patch)
treee1ec2259d6acd01f1eff2bc60be84097709202ac
parent660e429c9b63e41ca5636704453772b2e801698c (diff)
downloadwebsite-3ba6a311435bbb114b46fee8625dbab87c8a3e4c.tar.lz
website-3ba6a311435bbb114b46fee8625dbab87c8a3e4c.tar.zst
website-3ba6a311435bbb114b46fee8625dbab87c8a3e4c.zip
build: split out deploy target for local use
-rwxr-xr-xjustfile4
1 files changed, 3 insertions, 1 deletions
diff --git a/justfile b/justfile
index 47d7ca1..e1b7f4c 100755
--- a/justfile
+++ b/justfile
@@ -32,7 +32,9 @@ dev:
 
 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 }}