mirror of
https://github.com/actix/actix-extras.git
synced 2024-11-28 09:42:40 +01:00
disable gh-pages update
This commit is contained in:
parent
829dbae609
commit
99a915e668
18
.travis.yml
18
.travis.yml
@ -43,12 +43,12 @@ script:
|
||||
fi
|
||||
|
||||
# Upload docs
|
||||
after_success:
|
||||
- |
|
||||
if [[ "$TRAVIS_OS_NAME" == "linux" && "$TRAVIS_PULL_REQUEST" = "false" && "$TRAVIS_BRANCH" == "master" && "$TRAVIS_RUST_VERSION" == "stable" ]]; then
|
||||
cargo doc --features "ssl,tls,rust-tls,session" --no-deps &&
|
||||
echo "<meta http-equiv=refresh content=0;url=os_balloon/index.html>" > target/doc/index.html &&
|
||||
git clone https://github.com/davisp/ghp-import.git &&
|
||||
./ghp-import/ghp_import.py -n -p -f -m "Documentation upload" -r https://"$GH_TOKEN"@github.com/"$TRAVIS_REPO_SLUG.git" target/doc &&
|
||||
echo "Uploaded documentation"
|
||||
fi
|
||||
#after_success:
|
||||
# - |
|
||||
# if [[ "$TRAVIS_OS_NAME" == "linux" && "$TRAVIS_PULL_REQUEST" = "false" && "$TRAVIS_BRANCH" == "master" && "$TRAVIS_RUST_VERSION" == "stable" ]]; then
|
||||
# cargo doc --features "ssl,tls,rust-tls,session" --no-deps &&
|
||||
# echo "<meta http-equiv=refresh content=0;url=os_balloon/index.html>" > target/doc/index.html &&
|
||||
# git clone https://github.com/davisp/ghp-import.git &&
|
||||
# ./ghp-import/ghp_import.py -n -p -f -m "Documentation upload" -r https://"$GH_TOKEN"@github.com/"$TRAVIS_REPO_SLUG.git" target/doc &&
|
||||
# echo "Uploaded documentation"
|
||||
# fi
|
||||
|
Loading…
Reference in New Issue
Block a user