aboutsummaryrefslogtreecommitdiff
path: root/.forgejo/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.forgejo/workflows')
-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