V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
BlackSnow
V2EX  ›  Hexo

hexo delopy 如何添加一个 CNAME 文件

  •  
  •   BlackSnow · Oct 17, 2024 · 1380 views
    This topic created in 560 days ago, the information mentioned may be changed or developed.

    如题,hexo 刚接触。

    请教一下和 hexo d 怎么添加一个具体的文件

    我目前的情况是,github 的 root 文件添加一个 CNAME 文件后,每次 hexo d 会自动顶掉 我怀疑是 hexo d 的流程试用了 git push , 重置了特定流程外的文件

    已经尝试手动在本地的.deploy_git git push 失败,求个解决方案

    3 replies    2024-10-17 17:56:33 +08:00
    QUC062IzY3M1Y6dg
        1
    QUC062IzY3M1Y6dg  
       Oct 17, 2024   ❤️ 1
    在本地根目录下新建一个 CNAME 文件
    nagisaushio
        2
    nagisaushio  
       Oct 17, 2024   ❤️ 1
    在 sources/ 下新建 CNAME 文件
    BlackSnow
        3
    BlackSnow  
    OP
       Oct 17, 2024
    楼上大佬们方案已解决
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1458 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 42ms · UTC 16:44 · PVG 00:44 · LAX 09:44 · JFK 12:44
    ♥ Do have faith in what you're doing.