add requirements.txt

This commit is contained in:
Vinta 2019-03-03 00:01:02 +08:00
parent fa435573d9
commit 85583e196c
2 changed files with 6 additions and 4 deletions

View File

@ -3,18 +3,18 @@ language: python
python:
- "3.6"
before_script:
- pip install mkdocs mkdocs-material
install:
- pip install -r requirements.txt
script:
- cp README.md docs/index.md
- mkdocs build
deploy:
provider: pages
local-dir: "site"
skip-cleanup: true
github-token: $GITHUB_TOKEN
keep-history: true
github-token: $GITHUB_TOKEN
on:
branch: master

2
requirements.txt Normal file
View File

@ -0,0 +1,2 @@
mkdocs==1.0.4
mkdocs-material==4.0.2