Skip to content

Commit f45992b

Browse files
committed
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.
2 parents 57ecd7a + 775b323 commit f45992b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.travis.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -109,11 +109,12 @@ cache:
109109

110110
before_deploy:
111111
- mkdir -p deploy/$TRAVIS_COMMIT
112-
- rm -rf build/dist/doc
113112
- >
114113
if [ "$TRAVIS_OS_NAME" == "osx" ]; then
114+
rm -rf build/dist/doc &&
115115
cp -r build/dist/* deploy/$TRAVIS_COMMIT;
116116
else
117+
rm -rf obj/build/dist/doc &&
117118
cp -r obj/build/dist/* deploy/$TRAVIS_COMMIT;
118119
fi
119120

0 commit comments

Comments
 (0)