Skip to content

Commit

Permalink
[Doc] Bugfix for gh_deploy_doc.sh (#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
yzh119 authored Jan 20, 2024
1 parent 166f57b commit 807d197
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/gh_deploy_doc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,18 @@

set -euxo pipefail

mkdir -p tmp
cd docs
make html
mv _build/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/

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

0 comments on commit 807d197

Please sign in to comment.