Hotfix for missing FontAwesome on mdBook 0.1.7

cc https://github.com/rust-lang-nursery/rust-cookbook/issues/416
This commit is contained in:
Michal Budzynski 2018-05-16 23:30:25 +02:00
parent 43a34ef1cb
commit 331171bfbb

View file

@ -54,6 +54,11 @@ cp -r assets/ book/
echo "Committing book directory to gh-pages branch"
REV=$(git rev-parse --short HEAD)
cd book
# hotfix for https://github.com/rust-lang-nursery/rust-cookbook/issues/416
sed -i -e "s/_FontAwesome/FontAwesome/" *.html
mv ./_FontAwesome ./FontAwesome
git init
git remote add upstream "https://$GH_TOKEN@github.com/rust-lang-nursery/rust-cookbook.git"
git config user.name "Rust Cookbook"