diff --git a/.github/workflows/doc.yml b/.github/workflows/doc.yml deleted file mode 100644 index eccc308..0000000 --- a/.github/workflows/doc.yml +++ /dev/null @@ -1,31 +0,0 @@ -name: Build and Deploy MkDocs - -on: - push: - branches: - - main - -jobs: - build-and-deploy: - runs-on: ubuntu-latest - - steps: - - name: Checkout code - uses: actions/checkout@v2 - - - name: Set up Python - uses: actions/setup-python@v2 - with: - python-version: '3.x' - - - name: Install MkDocs - run: pip install -r requirements.txt - - - name: Build - run: mkdocs build --clean - - - name: Deploy - uses: peaceiris/actions-gh-pages@v3 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ./site diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index e8f908f..0cb67a2 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -19,7 +19,7 @@ jobs: steps: # 此步骤使用 GitHub 的 https://github.com/actions/checkout - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 # 安装依赖 - name: Install dependencies