3
justfile
3
justfile
@@ -87,13 +87,14 @@ release version:
|
|||||||
cargo publish
|
cargo publish
|
||||||
|
|
||||||
# Deploy the book to Github Pages
|
# Deploy the book to Github Pages
|
||||||
|
[script]
|
||||||
deploy:
|
deploy:
|
||||||
mdbook build --dest-dir {{ BOOK_DEST_DIR }}
|
mdbook build --dest-dir {{ BOOK_DEST_DIR }}
|
||||||
cd {{ BOOK_DEST_DIR }}
|
cd {{ BOOK_DEST_DIR }}
|
||||||
git init .
|
git init .
|
||||||
git checkout -B gh-pages
|
git checkout -B gh-pages
|
||||||
touch ".nojekyll"
|
touch ".nojekyll"
|
||||||
echo "n34.dev" > "CNAME"
|
echo "n34.dev" out> "CNAME"
|
||||||
|
|
||||||
git add .
|
git add .
|
||||||
git commit -m "Deploy the book to github pages"
|
git commit -m "Deploy the book to github pages"
|
||||||
|
|||||||
Reference in New Issue
Block a user