From 629de42215946c5974d1669c4b53e0f05917c92c Mon Sep 17 00:00:00 2001
From: Awiteb
Date: Wed, 13 Aug 2025 16:58:02 +0000
Subject: [PATCH] chore: Add `[script]` to `deploy` recipe
Signed-off-by: Awiteb
---
justfile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/justfile b/justfile
index 0957b92..24d6ca9 100644
--- a/justfile
+++ b/justfile
@@ -87,13 +87,14 @@ release version:
cargo publish
# Deploy the book to Github Pages
+[script]
deploy:
mdbook build --dest-dir {{ BOOK_DEST_DIR }}
cd {{ BOOK_DEST_DIR }}
git init .
git checkout -B gh-pages
touch ".nojekyll"
- echo "n34.dev" > "CNAME"
+ echo "n34.dev" out> "CNAME"
git add .
git commit -m "Deploy the book to github pages"