We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
deploy
1 parent 2d640ca commit 5a88ee8Copy full SHA for 5a88ee8
.gitmodules
@@ -0,0 +1,3 @@
1
+[submodule "book/public"]
2
+ path = book/public
3
+ url = https://github.com/rust-nostr/rust-nostr.github.io.git
book/.gitignore
book/Makefile
@@ -2,8 +2,14 @@ init:
pip install -U poetry
poetry install
4
5
-build:
6
- poetry run mkdocs build --strict --clean --verbose
+checkout:
+ git submodule update --init --recursive --remote
7
+
8
+build: checkout
9
+ poetry run mkdocs build --strict --clean --verbose --site-dir public/book
10
11
+deploy: build
12
+ cd public && git add book && git commit -m "Deploy book" && git push origin HEAD:master --force
13
14
serve:
15
mkdocs serve
book/public
0 commit comments