我后面发现是web.china.template.yml里面的镜像节点失效了。修改将其修改为一个可用的节点就好了
hooks:
before_code:
- exec:
cmd:
- su discourse -c 'git config --global url."https://ghfast.top/https://github.com/".insteadOf "https://github.com/"'
before_web:
- exec:
cmd:
- su discourse -c 'gem sources --add https://mirrors.tuna.tsinghua.edu.cn/rubygems/ --remove https://rubygems.org/'
before_yarn:
- exec:
cmd:
- su discourse -c 'pnpm config set registry https://registry.npmmirror.com --global'
before_bundle_exec:
- exec:
cmd:
- su discourse -c 'bundle config mirror.https://rubygems.org https://mirrors.tuna.tsinghua.edu.cn/rubygems'
其中https://ghfast.top/https://github.com/
是目前我找到可用的镜像节点
看来是清华大学的镜像出了问题。
难道清华大学也不干活了?