Update README.md (#527) #25
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: doc_publish | |
# Publish docs via GitHub Pages to https://kjellkod.github.io/g3log/ | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- "**.md" | |
- "**.yml" | |
- docs/** | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: 3.x | |
- run: pip install mkdocs && pip install mkdocs-material | |
- name: Build site | |
run: mkdocs build | |
- name: Deploy | |
run: mkdocs gh-deploy --force |