Skip to content

Commit b3e0942

Browse files
committed
Fix travis deploy out of disk space error
1 parent 3e998eb commit b3e0942

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ci/before_deploy.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ main() {
1515
;;
1616
esac
1717

18+
# This will slow down the build, but is necessary to not run out of disk space
19+
cargo clean
20+
1821
cargo rustc --bin mdbook --target $TARGET --release -- -C lto
1922

2023
cp target/$TARGET/release/mdbook $stage/

0 commit comments

Comments
 (0)