Skip to content

Commit

Permalink
book: fix deploy command
Browse files Browse the repository at this point in the history
  • Loading branch information
yukibtc committed Sep 30, 2023
1 parent 66fd3cb commit 4b07a60
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions book/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@ init:
pip install -U poetry
poetry install

build:
checkout:
git submodule update --init --force

build: checkout
poetry run mkdocs build --strict --clean --verbose --site-dir public

deploy: build
git submodule update --init --force
cd public && git add . && git commit -m "Deploy book" && git push

serve:
Expand Down

0 comments on commit 4b07a60

Please sign in to comment.