mirror of
https://github.com/vinta/awesome-python.git
synced 2025-12-17 04:44:38 +03:00
Update .travis.yml for automatic deployment
This commit is contained in:
20
.travis.yml
20
.travis.yml
@@ -1,10 +1,20 @@
|
||||
language: ruby
|
||||
language: python
|
||||
|
||||
rvm:
|
||||
- 2.2
|
||||
python:
|
||||
- "3.6"
|
||||
|
||||
before_script:
|
||||
- gem install awesome_bot
|
||||
- pip install mkdocs mkdocs-material
|
||||
|
||||
script:
|
||||
- awesome_bot README.md --allow-dupe --white-list pyparsing,graphviz.org
|
||||
- cp README.md docs/index.md
|
||||
- mkdocs build
|
||||
|
||||
deploy:
|
||||
provider: pages
|
||||
local-dir: "site"
|
||||
skip-cleanup: true
|
||||
github-token: $GITHUB_TOKEN
|
||||
keep-history: true
|
||||
on:
|
||||
branch: master
|
||||
|
||||
Reference in New Issue
Block a user