update docs
This commit is contained in:
@@ -24,9 +24,10 @@ fi
|
|||||||
(cd docs/tmp && git pull $REMOTE gh-pages)
|
(cd docs/tmp && git pull $REMOTE gh-pages)
|
||||||
|
|
||||||
# remove all files in the worktree and regenerate the book there
|
# remove all files in the worktree and regenerate the book there
|
||||||
git worktree rm docs/tmp
|
git worktree remove -f docs/tmp
|
||||||
rm -rf docs/tmp/*
|
rm -rf docs/tmp/*
|
||||||
mdbook build docs
|
mdbook build docs
|
||||||
|
mkdir docs/tmp
|
||||||
cp -rp docs/book/* docs/tmp
|
cp -rp docs/book/* docs/tmp
|
||||||
|
|
||||||
# add everything in the worktree, commit, and push
|
# add everything in the worktree, commit, and push
|
||||||
|
|||||||
Reference in New Issue
Block a user