Skip to content

[docs] Publish docs on GitHub pages #2

[docs] Publish docs on GitHub pages

[docs] Publish docs on GitHub pages #2

Workflow file for this run

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