1
0
Fork 0
mirror of https://github.com/vinta/awesome-python.git synced 2024-11-13 11:16:10 -05:00

Merge pull request #1247 from C0derLint/travy

Update .travis.yml for automatic deployment
This commit is contained in:
Vinta 2019-03-02 23:09:07 +08:00 committed by GitHub
commit d535b82e27
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 19 additions and 10 deletions

View file

@ -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

View file

@ -4,13 +4,12 @@ site_description: 'A curated list of awesome Python frameworks, libraries and so
site_author: 'Vinta Chen'
repo_name: 'vinta/awesome-python'
repo_url: 'https://github.com/vinta/awesome-python'
theme: 'material'
extra:
feature:
tabs: false
theme:
name: 'material'
palette:
primary: 'red'
accent: 'pink'
extra:
social:
- type: 'github'
link: 'https://github.com/vinta'
@ -23,5 +22,5 @@ google_analytics:
- 'auto'
extra_css:
- css/extra.css
pages:
nav:
- "Life is short, you need Python.": "index.md"