From ba101b0e6efabd2923d06f84991a7b8850ffb627 Mon Sep 17 00:00:00 2001 From: DongJianHao123 <2995251733@qq.com> Date: Wed, 11 Oct 2023 17:23:53 +0800 Subject: [PATCH] fix: update deploy setting --- .github/workflows/mkdocs.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/mkdocs.yml b/.github/workflows/mkdocs.yml index 0a32bf2..1e902a8 100644 --- a/.github/workflows/mkdocs.yml +++ b/.github/workflows/mkdocs.yml @@ -4,7 +4,7 @@ on: branches: - main jobs: - deploy: + build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 @@ -15,10 +15,11 @@ jobs: python-version: 3.x - run: pip install -r requirements.txt - run: mkdocs build + - name: GitHub Pages uses: crazy-max/ghaction-github-pages@v3.0.0 with: target_branch: gh-pages build_dir: site env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.TOKEN }}