Skip to content

Commit 63ea12b

Browse files
committed
Put docs below /doc/ on gh-pages
1 parent 8a8ca1a commit 63ea12b

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

.travis.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,13 @@ script:
88
- RUSTC_BOOTSTRAP=1 cargo test --all
99
- RUSTC_BOOTSTRAP=1 cargo doc --document-private-items
1010
deploy:
11-
provider: pages
12-
local-dir: ./target/doc
13-
skip-cleanup: true
14-
github-token: $GITHUB_TOKEN
15-
on:
16-
branch: master
11+
- provider: script
12+
script: mkdir -p target/gh-pages && mv target/doc target/gh-pages/
13+
on:
14+
branch: master
15+
- provider: pages
16+
local-dir: ./target/gh-pages
17+
skip-cleanup: true
18+
github-token: $GITHUB_TOKEN
19+
on:
20+
branch: master

0 commit comments

Comments
 (0)