cryogen-project / cryogen

A simple static site generator written in Clojure
http://cryogenweb.org/
Eclipse Public License 1.0
1.09k stars 96 forks source link

Generating CNAME file during compilation #170

Closed Sudha247 closed 6 years ago

Sudha247 commented 6 years ago

My site is hosted on GitHub pages with a custom domain. Every time I run lein run or lein ring server, the CNAME file gets deleted. Is there anyway I could generate it every time I execute the commands? I have the right url in the config.edn file.

lacarmen commented 6 years ago

Take a look at the end of the GitHub pages deployment docs. You can add the CNAME file to your resources and have it copied over to the public folder you can keep it in your public folder and add CNAME to your list of keep-files in your config.

Sudha247 commented 6 years ago

Alright. Thanks a lot! My bad, I didn't read it before.