publish-gh-pages: include gitignore

This commit is contained in:
Ciro Santilli 六四事件 法轮功
2019-09-05 00:00:01 +00:00
parent 331c69d6af
commit 2e4b360512

View File

@@ -4,9 +4,13 @@ set -eu
git push
./build-doc --github-pages
git checkout gh-pages
git checkout master -- '*.png' _config.yml
git checkout master -- \
.gitignore \
'*.png' \
_config.yml \
;
cp out/README.html index.html
git add index.html
git commit --message "$(git log -n1 --pretty='%H' master)"
git push --force
git push
git checkout -