Skip to content

Commit

Permalink
[Doc] Fix documentation build script (#79)
Browse files Browse the repository at this point in the history
  • Loading branch information
yzh119 authored Jan 20, 2024
1 parent 807d197 commit 6743209
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/gh_deploy_doc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ mkdir -p tmp
cd docs
make html
mv _build/html/* ../tmp/
rm -rf _build/
cd ..

git grep --cached -l '' | xargs rm
git fetch
git checkout -B gh-pages origin/gh-pages
echo "3rdparty/" >> .gitignore
mv tmp/* docs/
rm -rf docs/
mv tmp docs

DATE=`date`
git add . && git commit -am "Build at ${DATE}"
Expand Down

0 comments on commit 6743209

Please sign in to comment.