aboutsummaryrefslogtreecommitdiff
path: root/.forgejo
diff options
context:
space:
mode:
authorFangcatChina <f20091219@outlook.com>2026-08-14 15:11:46 +0000
committerFangcatChina <f20091219@outlook.com>2026-08-14 15:11:46 +0000
commitbea236ee29581f29c37d0ca2efd7fac9c155500e (patch)
tree2db61a1fd011d2b842150f8ffc99e84fcd07fb3e /.forgejo
parentfix: forgejo workflow (diff)
feat: architecture
Diffstat (limited to '.forgejo')
-rw-r--r--.forgejo/workflows/mkdocs-deploy.yml3
1 files changed, 2 insertions, 1 deletions
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