From bea236ee29581f29c37d0ca2efd7fac9c155500e Mon Sep 17 00:00:00 2001 From: FangcatChina Date: Fri, 14 Aug 2026 23:11:46 +0800 Subject: feat: architecture --- .forgejo/workflows/mkdocs-deploy.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to '.forgejo/workflows/mkdocs-deploy.yml') diff --git a/.forgejo/workflows/mkdocs-deploy.yml b/.forgejo/workflows/mkdocs-deploy.yml index 473ff14..509a187 100644 --- a/.forgejo/workflows/mkdocs-deploy.yml +++ b/.forgejo/workflows/mkdocs-deploy.yml @@ -29,6 +29,7 @@ concurrency: jobs: build-and-deploy: runs-on: build-env + # Using nikolaik/python-nodejs:python3.14-nodejs26 to avoid the setup conflict between Python and Node.js steps: - name: Checkout source code uses: https://gitea.cn/actions/checkout@v4 @@ -60,4 +61,4 @@ jobs: git config user.email "${{ github.actor }}@noreply.codeberg.org" git add . git commit -m "Deploy site $(date -u '+%Y-%m-%d %H:%M:%S UTC')" - git push --force https://x-access-token:${DEPLOY_TOKEN}@${TARGET_REPO#https://} HEAD:${TARGET_BRANCH} \ No newline at end of file + git push --force https://oauth2:${DEPLOY_TOKEN}@${TARGET_REPO#https://} HEAD:${TARGET_BRANCH} \ No newline at end of file -- cgit v1.3 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/mkdocs-deploy.yml') 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