diff --git a/.travis.yml b/.travis.yml index be4f31d..d7c59fb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,8 +12,3 @@ script: branches: only: master -after_success: | - [ $TRAVIS_PULL_REQUEST == "false" ] && - [ $TRAVIS_RUST_VERSION == "stable" ] && - [ $TRAVIS_OS_NAME == "linux" ] && - bash ./publish-docs.sh diff --git a/README.md b/README.md index f8dbc94..a57d7e8 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ use c_types::some_type; ## Documentation ## -API documentation is [here](http://dimbleby.github.io/rust-c-types). +API documentation is [here](https://docs.rs/c-types). ## Contributing ## diff --git a/publish-docs.sh b/publish-docs.sh deleted file mode 100755 index 6b52d20..0000000 --- a/publish-docs.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/bash -set -e - -cargo doc --no-deps -p c-types -echo "" > target/doc/index.html - -git config user.name "Travis CI" -pip install --user ghp-import -~/.local/bin/ghp-import -n target/doc - -openssl aes-256-cbc -K "$encrypted_7f3527787a94_key" -iv "$encrypted_7f3527787a94_iv" -in publish-key.enc -out ~/.ssh/publish-key -d -chmod u=rw,og= ~/.ssh/publish-key -echo "Host github.com" >> ~/.ssh/config -echo " IdentityFile ~/.ssh/publish-key" >> ~/.ssh/config -git remote set-url origin git@github.com:dimbleby/rust-c-types -git push origin +gh-pages diff --git a/publish-key.enc b/publish-key.enc deleted file mode 100644 index ef9cb09..0000000 Binary files a/publish-key.enc and /dev/null differ