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