Skip to content

Commit

Permalink
[docs] Publish docs on GitHub pages
Browse files Browse the repository at this point in the history
  • Loading branch information
niklaut committed Aug 15, 2024
1 parent a8fa9d0 commit 3aa292e
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Doxygen GitHub Pages Deploy Action

on:
push:
branches:
- main
- pdoc
pull_request:
branches:
- "*"

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'

- name: Install emdbg
run: |
pip3 install -e ".[all]"
- name: Run pdoc
run: pdoc --mermaid -o docs/ emdbg

- name: Deploy
if: github.event_name == 'push'
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs

0 comments on commit 3aa292e

Please sign in to comment.