Skip to content

[chore] Fix "ModuleNotFoundError: No module named 'defusedxml'" at py… #40

[chore] Fix "ModuleNotFoundError: No module named 'defusedxml'" at py…

[chore] Fix "ModuleNotFoundError: No module named 'defusedxml'" at py… #40

Workflow file for this run

name: Build document
on: [push]
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install build dependencies
run: |
python -m pip install -U pip
python -m pip install . myst-parser
- name: Build document
run: |
cd docs/
make html
- name: Push to GitHub Pages branch
uses: ftnext/action-push-ghpages@v1.0.0
with:
build_dir: docs/_build/html
github_token: ${{ secrets.GITHUB_TOKEN }}