From e18c1660e9ffaefb93a43524c2508fcbfcd9acf3 Mon Sep 17 00:00:00 2001 From: Jiaxin Shan Date: Wed, 20 Apr 2022 16:09:03 +0800 Subject: [PATCH] Use mhausenblas/mkdocs-deploy-gh-pages action for docs (#233) --- .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 455c241e0ae..dbfc8784503 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 }}