Auto merge of #39415 - alexcrichton:fix-upload-dirs, r=brson

travis: Really delete the `doc` folder

Got two location to look at, be sure to delete them both.
This commit is contained in:
bors 2017-02-03 09:13:06 +00:00
commit f45992b300
1 changed files with 2 additions and 1 deletions

View File

@ -109,11 +109,12 @@ cache:
before_deploy:
- mkdir -p deploy/$TRAVIS_COMMIT
- rm -rf build/dist/doc
- >
if [ "$TRAVIS_OS_NAME" == "osx" ]; then
rm -rf build/dist/doc &&
cp -r build/dist/* deploy/$TRAVIS_COMMIT;
else
rm -rf obj/build/dist/doc &&
cp -r obj/build/dist/* deploy/$TRAVIS_COMMIT;
fi