mirror of
https://github.com/KjellKod/g3log.git
synced 2025-01-06 00:31:12 +01:00
25 lines
508 B
YAML
25 lines
508 B
YAML
name: Publish docs via GitHub Pages to https://kjellkod.github.io/g3log/
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
- main
|
|
paths:
|
|
- "**.md"
|
|
- "mkdocs.yml"
|
|
|
|
|
|
jobs:
|
|
deploy:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: actions/setup-python@v2
|
|
with:
|
|
python-version: 3.x
|
|
- run: pip install mkdocs-material
|
|
- name: Build site
|
|
run: mkdocs build
|
|
- name: Deploy
|
|
run: mkdocs gh-deploy --force
|