about summary refs log tree commit diff stats
path: root/justfile
diff options
context:
space:
mode:
authorAlan Pearce2024-06-25 17:06:17 +0200
committerAlan Pearce2024-06-25 17:06:17 +0200
commit83a4eef89b9906d8ad90411e9b256da6dab07b55 (patch)
tree295b8002c6315064f62fadb07adee091eb0a4874 /justfile
parent571a8852f0be055dc302cd968ca2e089b6cae105 (diff)
downloadwebsite-83a4eef89b9906d8ad90411e9b256da6dab07b55.tar.lz
website-83a4eef89b9906d8ad90411e9b256da6dab07b55.tar.zst
website-83a4eef89b9906d8ad90411e9b256da6dab07b55.zip
just: pass command-line arguments to fly deploy
Diffstat (limited to 'justfile')
-rwxr-xr-xjustfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/justfile b/justfile
index b6a780c..4e8ff77 100755
--- a/justfile
+++ b/justfile
@@ -30,13 +30,13 @@ dev:
 
 ci: build check-links
 
-cd:
+cd *DEPLOY_FLAGS:
 	fly auth docker
 	nix-build -A docker-stream-amd64-linux --no-out-link | sh | gzip --fast | \
 		skopeo copy --dest-precompute-digests \
 			docker-archive:/dev/stdin \
 			docker://{{ docker-registry }}:{{ docker-tag }}
-	fly deploy --image {{ docker-registry }}:{{ docker-tag }}
+	fly deploy --image {{ docker-registry }}:{{ docker-tag }} {{ DEPLOY_FLAGS }}
 
 deploy-vercel-preview: build
 	vercel pull --environment=preview