Skip to content

Commit

Permalink
Re-enable doc uploading on travis
Browse files Browse the repository at this point in the history
rust-lang/rust#32532 is fixed, so this might work now. Let's find out.
  • Loading branch information
mattico committed May 12, 2017
1 parent a1c6be1 commit 6c58f1d
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions ci/prepare-deploy-travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,13 @@ fi

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

# Copy rustup-init to rustup-setup for backwards compatibility
Expand Down

0 comments on commit 6c58f1d

Please sign in to comment.