2022-05-24 14:21:05 -06:00
|
|
|
name: Publish docs via GitHub Pages to https://kjellkod.github.io/g3log/
|
2022-05-23 17:09:22 -06:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
2022-05-24 17:51:24 -06:00
|
|
|
- master
|
2022-05-28 21:36:58 -06:00
|
|
|
- main
|
|
|
|
paths:
|
|
|
|
- "**.md"
|
|
|
|
- "mkdocs.yml"
|
2022-05-28 21:23:51 -06:00
|
|
|
|
2022-05-28 21:36:58 -06:00
|
|
|
|
2022-05-23 17:09:22 -06:00
|
|
|
jobs:
|
2022-05-24 17:51:24 -06:00
|
|
|
deploy:
|
2022-05-23 17:09:22 -06:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-05-24 17:51:24 -06:00
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: actions/setup-python@v2
|
|
|
|
with:
|
|
|
|
python-version: 3.x
|
|
|
|
- run: pip install mkdocs-material
|
2022-05-28 21:23:51 -06:00
|
|
|
- name: Build site
|
|
|
|
run: mkdocs build
|
|
|
|
- name: Deploy
|
|
|
|
run: mkdocs gh-deploy --force
|