aboutsummaryrefslogtreecommitdiff
path: root/.forgejo/workflows
diff options
context:
space:
mode:
authorFangcatChina <f20091219@outlook.com>2026-08-14 15:17:32 +0000
committerFangcatChina <f20091219@outlook.com>2026-08-14 15:17:32 +0000
commit36478fc79a620a6b014d24b8263ccdfeef281ea6 (patch)
tree583a7e510b0df55ee181898aef7b23070f089731 /.forgejo/workflows
parentfeat: architecture (diff)
fix: workflow format
Diffstat (limited to '.forgejo/workflows')
-rw-r--r--.forgejo/workflows/mkdocs-deploy.yml8
1 files changed, 3 insertions, 5 deletions
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