From 36478fc79a620a6b014d24b8263ccdfeef281ea6 Mon Sep 17 00:00:00 2001 From: FangcatChina Date: Fri, 14 Aug 2026 23:17:32 +0800 Subject: fix: workflow format --- .forgejo/workflows/mkdocs-deploy.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to '.forgejo/workflows') diff --git a/.forgejo/workflows/mkdocs-deploy.yml b/.forgejo/workflows/mkdocs-deploy.yml index 509a187..417b1f3 100644 --- a/.forgejo/workflows/mkdocs-deploy.yml +++ b/.forgejo/workflows/mkdocs-deploy.yml @@ -50,15 +50,13 @@ jobs: - name: Deploy to target repository if: github.event_name == 'push' || github.event_name == 'workflow_dispatch' env: - TARGET_REPO: https://codeberg.org/LinuxCabin/handbook-site - TARGET_BRANCH: pages DEPLOY_TOKEN: ${{ secrets.DEPLOY_TOKEN }} run: | cd site echo "hb.linuxcabin.top" > CNAME git init - git config user.name "${{ github.actor }}" - git config user.email "${{ github.actor }}@noreply.codeberg.org" + git config user.name "Fangcat_Dev" + git config user.email "f20091219@outlook.com" git add . git commit -m "Deploy site $(date -u '+%Y-%m-%d %H:%M:%S UTC')" - git push --force https://oauth2:${DEPLOY_TOKEN}@${TARGET_REPO#https://} HEAD:${TARGET_BRANCH} \ No newline at end of file + git push --force "https://Fangcat_Dev:${DEPLOY_TOKEN}@codeberg.org/LinuxCabin/handbook-site.git" HEAD:pages \ No newline at end of file -- cgit v1.3