Add tasks flow
This commit is contained in:
parent
75133059da
commit
fac624bd93
@ -4,8 +4,7 @@ python:
|
|||||||
- "3.6"
|
- "3.6"
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- cp README.md docs/index.md
|
- invoke build
|
||||||
- mkdocs build
|
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
provider: pages
|
provider: pages
|
||||||
|
@ -1,2 +1,3 @@
|
|||||||
mkdocs==1.0.4
|
mkdocs==1.0.4
|
||||||
mkdocs-material==4.5.0
|
mkdocs-material==4.5.0
|
||||||
|
invoke
|
||||||
|
9
tasks.py
Normal file
9
tasks.py
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
import os
|
||||||
|
from invoke import task, call
|
||||||
|
|
||||||
|
|
||||||
|
@task
|
||||||
|
def build(c):
|
||||||
|
"""Build the website"""
|
||||||
|
c.run("cp README.md docs/index.md")
|
||||||
|
c.run("mkdocs build")
|
Loading…
x
Reference in New Issue
Block a user