We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4979f1 commit 8dd3eccCopy full SHA for 8dd3ecc
.travis.yml
@@ -37,3 +37,6 @@ install:
37
38
script:
39
- ./ci/travis/test.sh
40
+
41
+after_success:
42
+ - ./ci/travis/deploy.sh
ci/travis/deploy.sh
@@ -0,0 +1,15 @@
1
+#!/bin/sh
2
3
+if [["$TRAVIS_PULL_REQUEST" = "false" && "$TRAVIS_BRANCH" == "master" && \
4
+ "$TRAVIS_RUST_VERSION" == "nightly" ]]; then
5
+ cargo doc --all-features --no-deps &&
6
+ echo "<meta http-equiv=refresh content=0;url=os_balloon/index.html>" > target/doc/index.html &&
7
+ git clone https://github.com/davisp/ghp-import.git &&
8
+ ./ghp-import/ghp_import.py -n \
9
+ -p \
10
+ -f \
11
+ -m "Documentation upload" \
12
+ -r https://"$GH_TOKEN"@github.com/"$TRAVIS_REPO_SLUG.git" \
13
+ target/doc &&
14
+ echo "Uploaded documentation"
15
+fi
0 commit comments