diff --git a/.github/workflows/deploy_page.yml b/.github/workflows/deploy_page.yml index a1a6def..e629b15 100644 --- a/.github/workflows/deploy_page.yml +++ b/.github/workflows/deploy_page.yml @@ -1,8 +1,7 @@ name: Deploy on: push: - branches: - - main + jobs: build: name: Deploy docs to GitHub Pages @@ -11,11 +10,8 @@ jobs: - name: Checkout uses: actions/checkout@v2 - - uses: s-weigand/setup-conda@v1 - - run: conda --version - - run: which python - - run: conda install -n base -c conda-forge pandoc - + # CONDA_PYTHON_EXE: /usr/share/miniconda/bin/python + # 使用的是 /usr/local/lib/python3.13/site-packages - name: Build uses: OpenHUTB/actions-mkdocs@main with: diff --git a/docs/requirements.txt b/docs/requirements.txt index 628bf31..4c96970 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,3 +1,4 @@ python-markdown-math imageio mkdocs-bibtex +pypandoc-binary