mirror of
https://github.com/vinta/awesome-python.git
synced 2024-12-18 00:00:13 +00:00
Update .travis.yml for automatic deployment
This commit is contained in:
parent
a10314a4dc
commit
04c0ba830d
20
.travis.yml
20
.travis.yml
|
@ -1,10 +1,20 @@
|
||||||
language: ruby
|
language: python
|
||||||
|
|
||||||
rvm:
|
python:
|
||||||
- 2.2
|
- "3.6"
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- gem install awesome_bot
|
- pip install mkdocs mkdocs-material
|
||||||
|
|
||||||
script:
|
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
|
||||||
|
|
|
@ -4,13 +4,12 @@ site_description: 'A curated list of awesome Python frameworks, libraries and so
|
||||||
site_author: 'Vinta Chen'
|
site_author: 'Vinta Chen'
|
||||||
repo_name: 'vinta/awesome-python'
|
repo_name: 'vinta/awesome-python'
|
||||||
repo_url: 'https://github.com/vinta/awesome-python'
|
repo_url: 'https://github.com/vinta/awesome-python'
|
||||||
theme: 'material'
|
theme:
|
||||||
extra:
|
name: 'material'
|
||||||
feature:
|
|
||||||
tabs: false
|
|
||||||
palette:
|
palette:
|
||||||
primary: 'red'
|
primary: 'red'
|
||||||
accent: 'pink'
|
accent: 'pink'
|
||||||
|
extra:
|
||||||
social:
|
social:
|
||||||
- type: 'github'
|
- type: 'github'
|
||||||
link: 'https://github.com/vinta'
|
link: 'https://github.com/vinta'
|
||||||
|
@ -23,5 +22,5 @@ google_analytics:
|
||||||
- 'auto'
|
- 'auto'
|
||||||
extra_css:
|
extra_css:
|
||||||
- css/extra.css
|
- css/extra.css
|
||||||
pages:
|
nav:
|
||||||
- "Life is short, you need Python.": "index.md"
|
- "Life is short, you need Python.": "index.md"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user