mirror of
https://github.com/isar/rusqlite.git
synced 2024-11-23 00:39:20 +08:00
Only publish docs from master
This commit is contained in:
parent
dcdb88e374
commit
3eb2c333db
@ -10,6 +10,8 @@ script:
|
||||
- cargo doc --no-deps
|
||||
|
||||
after_success: |
|
||||
[ $TRAVIS_BRANCH = master ] &&
|
||||
[ $TRAVIS_PULL_REQUEST = false ] &&
|
||||
echo '<meta http-equiv=refresh content=0;url=rusqlite/index.html>' > target/doc/index.html &&
|
||||
sudo pip install ghp-import &&
|
||||
ghp-import -n target/doc &&
|
||||
|
Loading…
Reference in New Issue
Block a user