From 49eb301265dfe388daff8e02b7e2675e2bdc717a Mon Sep 17 00:00:00 2001 From: zjp Date: Sat, 2 Apr 2022 00:14:53 +0800 Subject: [PATCH 1/2] modify gh yml --- .github/workflows/gh-pages.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 3af144e..68aea5d 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -31,5 +31,6 @@ jobs: - name: Deploy uses: peaceiris/actions-gh-pages@v3 with: - github_token: ${{ secrets.GITHUB_TOKEN }} + # github_token: ${{ secrets.GITHUB_TOKEN }} + deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }} publish_dir: ./book From c307542020095b129e876c60c5de3e58b92de4d6 Mon Sep 17 00:00:00 2001 From: zjp Date: Sat, 2 Apr 2022 00:17:41 +0800 Subject: [PATCH 2/2] modify gh yml --- .github/workflows/gh-pages.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 68aea5d..c4c98e6 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -34,3 +34,4 @@ jobs: # github_token: ${{ secrets.GITHUB_TOKEN }} deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }} publish_dir: ./book +