Skip to content

Commit

Permalink
Deploy docs to github pages.
Browse files Browse the repository at this point in the history
  • Loading branch information
moser committed Oct 6, 2023
1 parent 89b73c6 commit 514f319
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/docs-gh-pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: 'Deploy docs'

on:
push:
branches:
- main
paths:
- "docs/**"
- ".github/workflows/docs-gh-pages.yml"
workflow_dispatch:

jobs:
deploy-docs:
name: Deploy docs
runs-on: ubuntu-latest
steps:
- name: Install graphviz
run: sudo apt-get install -y graphviz
- uses: actions/checkout@v3
with:
ref: gh-pages
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
with:
python-version: '3.9'
- name: Install dependencies
run: |
pip install mkdocs mkdocs-mermaid2-plugin mkdocs-material mkdocs-alias-plugin mkdocs-diagrams mkdocs-macros-plugin pymdown-extensions pygments
- name: Deploy docs
run: mkdocs gh-deploy

0 comments on commit 514f319

Please sign in to comment.