Add CI for docs
parent
0c2054e833
commit
1ba18cab6b
|
@ -0,0 +1,17 @@
|
||||||
|
name: ci
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- day_segments
|
||||||
|
jobs:
|
||||||
|
deploy:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- uses: actions/setup-python@v2
|
||||||
|
with:
|
||||||
|
python-version: 3.x
|
||||||
|
- run: pip install git+https://${GH_TOKEN}@github.com/carissalow/mkdocs-material-insiders.git
|
||||||
|
- run: mkdocs gh-deploy --force
|
||||||
|
env:
|
||||||
|
GH_TOKEN: ${{ secrets.GH_TOKEN }}
|
|
@ -31,11 +31,11 @@ markdown_extensions:
|
||||||
- attr_list
|
- attr_list
|
||||||
- pymdownx.keys
|
- pymdownx.keys
|
||||||
extra:
|
extra:
|
||||||
|
version:
|
||||||
|
method: mike
|
||||||
social:
|
social:
|
||||||
- icon: fontawesome/brands/twitter
|
- icon: fontawesome/brands/twitter
|
||||||
link: 'https://twitter.com/julio_ui'
|
link: 'https://twitter.com/julio_ui'
|
||||||
version:
|
|
||||||
method: mike
|
|
||||||
extra_javascript:
|
extra_javascript:
|
||||||
- javascripts/config.js
|
- javascripts/config.js
|
||||||
- https://polyfill.io/v3/polyfill.min.js?features=es6
|
- https://polyfill.io/v3/polyfill.min.js?features=es6
|
||||||
|
|
Loading…
Reference in New Issue