From 173d9d1c30ab9caf18c803fbc558767dec7b5639 Mon Sep 17 00:00:00 2001 From: Jiaxin Shan Date: Wed, 20 Apr 2022 16:07:30 +0800 Subject: [PATCH] Use mhausenblas/mkdocs-deploy-gh-pages action for docs --- .github/workflows/site.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/site.yaml b/.github/workflows/site.yaml index 455c241e0a..dbfc878450 100644 --- a/.github/workflows/site.yaml +++ b/.github/workflows/site.yaml @@ -7,9 +7,9 @@ jobs: deploy: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v2 - with: - python-version: 3.x - - run: pip install mkdocs-material - - run: mkdocs gh-deploy --force + - name: Checkout main + uses: actions/checkout@v2 + - name: Deploy docs + uses: mhausenblas/mkdocs-deploy-gh-pages@master + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}