更新 Forgejo 访问令牌 · git-sync 认证修复
- 旧 token (3e16b79c) 已失效,Forgejo 返回 'password is invalid' - 通过 forgejo admin CLI 生成新 token (e0fed575) - 更新 deploy.sh 中的 TOKEN 引用 - git-sync PM2 进程已用新 token 重启并验证通过
This commit is contained in:
parent
7ed1aef20a
commit
a3ea92bf8a
@ -17,7 +17,7 @@ set -e
|
||||
|
||||
REPO_DIR="/data/guanghulab/repo"
|
||||
SYNC_DIR="$REPO_DIR/server/git-sync"
|
||||
TOKEN="3e16b79c427bb44b77c00b319aa641bde8f61d84"
|
||||
TOKEN="e0fed57503db0d26046b7e30c51c80458da364b4"
|
||||
GITEA_URL="http://127.0.0.1:3001"
|
||||
|
||||
echo "═══════════════════════════════════════"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user