Fix http://doc.servo.org/ to redirect to /servo/index.html again...

... rather than being the Rust documentation index.

The order of `cp` command determines which `target/doc/index.html` file
overwrites the other.
This commit is contained in:
Simon Sapin 2014-09-18 23:50:47 +01:00
parent 5e5f77a354
commit f24af67207

View file

@ -37,8 +37,8 @@ for t in "${tasks[@]}"; do
if [ "${TRAVIS_BRANCH}" = "master" ] && [ "${TRAVIS_PULL_REQUEST}" = "false" ]
then
mkdir -p target/doc
cp etc/doc.servo.org/* target/doc/
cp -R rust/doc/* target/doc/
cp etc/doc.servo.org/* target/doc/
./mach doc # After copying rust/doc, so that the crate index is correct.
sudo pip install ghp-import
ghp-import -n target/doc