Add CI for docs

pull/103/head
JulioV 2020-11-08 15:48:06 -05:00
parent 0c2054e833
commit 1ba18cab6b
2 changed files with 19 additions and 2 deletions

17
.github/workflows/ci.yaml vendored 100644
View File

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

View File

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