From 60c0b020e61525f7d4810794b8b02c92f1a50a27 Mon Sep 17 00:00:00 2001 From: adk23333 <2633103794@qq.com> Date: Fri, 15 Dec 2023 22:25:34 +0800 Subject: [PATCH] =?UTF-8?q?gitea=20actions=20=E4=BF=AE=E5=A4=8D=E8=84=9A?= =?UTF-8?q?=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/deploy.yaml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index ea213c1..14e4a32 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -7,9 +7,6 @@ on: # 允许手动触发 workflow_dispatch: -permissions: - contents: write - jobs: build-and-deploy: runs-on: node-21 @@ -28,5 +25,6 @@ jobs: uses: http://shenjack.top:5100/adk23333/github-pages-deploy-action@v4.5.0 with: folder: dist - branch: gh-pages + branch: cf-pages + git-config-email: $email ssh-key: ${{secrets.DEPLOY_KEY}}