BlackSnow
V2EX  ›  Hexo

hexo delopy 如何添加一个 CNAME 文件

  •  
  •   BlackSnow · Oct 17, 2024 · 2077 views
    This topic created in 768 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
    QUC062IzY3M1Y6dg
    Oct 17, 2024❤️1
    1
    在本地根目录下新建一个 CNAME 文件
    nagisaushio
    nagisaushio
    Oct 17, 2024❤️1
    2
    在 sources/ 下新建 CNAME 文件
    BlackSnow
    BlackSnow
    OP
    Oct 17, 2024
    3
    楼上大佬们方案已解决
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   4903 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 02:29 · PVG 10:29 · LAX 18:29 · JFK 21:29
    ♥ Do have faith in what you're doing.