V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
likunyan
V2EX  ›  问与答

drone 换了 gitea 后,找不到 username

  •  
  •   likunyan · 2023-01-13 13:54:12 +08:00 · 753 次点击
    这是一个创建于 461 天前的主题,其中的信息可能已经有所发展或是发生改变。

    Cloning with 0 retries Initialized empty Git repository in /drone/src/.git/

    • git fetch origin +refs/heads/master: fatal: could not read Username for 'https://git.example.com': terminal prompts disabled

    之前用 GitHub 好好的。

    有遇到过的老哥吗?

    1 条回复    2023-01-13 14:47:27 +08:00
    Hengtang
        1
    Hengtang  
       2023-01-13 14:47:27 +08:00
    Drone 的 Gitea 集成不是用 OAuth2 登录的么,跟 username 有啥关系。你的 Drone 环境变量设置应该是有问题
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1552 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 17:03 · PVG 01:03 · LAX 10:03 · JFK 13:03
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.