rapids/.github/workflows/docs.yaml

24 lines
612 B
YAML
Raw Normal View History

2020-11-08 21:48:06 +01:00
name: ci
on:
push:
branches:
- day_segments
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
2020-11-09 20:12:35 +01:00
with:
fetch-depth: 0
2020-11-08 21:48:06 +01:00
- 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: pip install mike
2020-11-09 19:38:40 +01:00
- run: |
2020-11-09 20:12:35 +01:00
git config user.name github-actions
git config user.email github-actions@github.com
2020-11-09 19:38:40 +01:00
mike deploy --push --update-aliases 0.1 latest
2020-11-08 21:48:06 +01:00
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}