travis: Really delete the `doc` folder

Got two location to look at, be sure to delete them both.
This commit is contained in:
Alex Crichton 2017-01-30 15:21:32 -08:00
parent 8921707653
commit 775b32305f
1 changed files with 2 additions and 1 deletions

View File

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