Skip to content

Commit 6c58f1d

Browse files
committed
Re-enable doc uploading on travis
rust-lang/rust#32532 is fixed, so this might work now. Let's find out.
1 parent a1c6be1 commit 6c58f1d

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

ci/prepare-deploy-travis.sh

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,13 @@ fi
1212

1313
# Upload docs
1414
if [[ "$TARGET" == "x86_64-unknown-linux-gnu" && "$TRAVIS_BRANCH" == "stable" ]]; then
15-
# FIXME rust-lang/rust#32532
16-
printf "not uploading docs"
17-
#git config --global credential.helper store;
18-
#echo "https://${TOKEN}:[email protected]" >> ~/.git-credentials;
19-
#cargo doc --release;
20-
#echo '<meta http-equiv=refresh content=0;url=multirust/index.html>' > target/doc/index.html;
21-
#sudo pip install ghp-import;
22-
#ghp-import -n target/doc;
23-
#git push -qf https://${TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages;
15+
git config --global credential.helper store;
16+
echo "https://${TOKEN}:[email protected]" >> ~/.git-credentials;
17+
cargo doc --release;
18+
echo '<meta http-equiv=refresh content=0;url=multirust/index.html>' > target/doc/index.html;
19+
sudo pip install ghp-import;
20+
ghp-import -n target/doc;
21+
git push -qf https://${TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages;
2422
fi;
2523

2624
# Copy rustup-init to rustup-setup for backwards compatibility

0 commit comments

Comments
 (0)