Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
207 views
in Technique[技术] by (71.8m points)

github自动发布如何保存CNAME文件

GitHub不是有静态托管功能么,
就是github pages,然后可以自定义域名,
其实就是生成一个CNAME文件

然后像是有一些自动发布,比如Travis CI 和 Github Action
然后我我发现有一个共同的问题,自动发布是每次直接覆盖上次的文件,
也就是说,每次发布,CNAME都没有了

这个问题怎么解决


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

CNAME文件放在自己的源文件里面


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...