[skip ci]
This commit is contained in:
Simon Sapin 2014-08-06 23:39:58 +01:00
parent d6ec79672e
commit 13fe0813fa
5 changed files with 389 additions and 1 deletions

View file

@ -10,6 +10,7 @@ make check-content
make check-ref-cpu
mv x86_64-unknown-linux-gnu/rust_snapshot/rust-*/doc .
cp ../src/etc/doc.servo.org/* doc
make doc
if [ $TRAVIS_BRANCH = master ] && [ $TRAVIS_PULL_REQUEST = false ]
@ -17,5 +18,5 @@ then
echo '<meta http-equiv=refresh content=0;url=servo/index.html>' > doc/index.html
sudo pip install ghp-import
ghp-import -n doc
git push -fq https://${TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages
git push -fq https://${TOKEN}@github.com/doc.servo.org.git gh-pages
fi