From b30673847bbe8967f9ea37a175f623e3462174ea Mon Sep 17 00:00:00 2001 From: panhy Date: Fri, 15 Dec 2023 13:07:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9CI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/static.yml | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index 4484fa5..28bfb54 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -10,8 +10,11 @@ jobs: deploy: runs-on: ubuntu-latest steps: - - name: Checkout - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + - name: Configure Git Credentials + run: | + git config user.name github-actions[bot] + git config user.email 41898282+github-actions[bot]@users.noreply.github.com - uses: actions/setup-python@v4 with: python-version: 3.x @@ -22,15 +25,6 @@ jobs: path: .cache restore-keys: | mkdocs-material- - - run: pip install mkdocs-material==9.4.1 mkdocs-glightbox + - run: pip install mkdocs-material - run: mkdocs gh-deploy --force - - name: Setup Pages - uses: actions/configure-pages@v3 - - name: Upload artifact - uses: actions/upload-pages-artifact@v1 - with: - # Upload entire repository - path: '.' - - name: Deploy to GitHub Pages - id: deployment - uses: actions/deploy-pages@v1 \ No newline at end of file + \ No newline at end of file