Skip to content

Commit

Permalink
fix publish documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
CoastEgo committed Dec 16, 2024
1 parent 2109498 commit 1b7aeb9
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/build_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,9 @@ jobs:
mkdocs build
mkdocs build # twice, see https://github.com/patrick-kidger/pytkdocs_tweaks
- name: Upload docs
uses: actions/upload-artifact@v4
# Deploy to GitHub Pages
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
with:
name: docs
path: site # where `mkdocs build` puts the built site
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./site # mkdocs 构建后的输出目录

0 comments on commit 1b7aeb9

Please sign in to comment.