rust-lang / lang-team

Home of the Rust lang team
http://lang-team.rust-lang.org/
Apache License 2.0
200 stars 48 forks source link

Add missing CNAME file for GitHub pages #239

Closed Qwuke closed 9 months ago

Qwuke commented 9 months ago

Also discussed here https://github.com/rust-lang/lang-team/issues/238, the CNAME file was being generated by the Travis CI, but the CNAME creation command was not added when moving to GH actions.

mdBook supports an option for creating a CNAME file, so I've added it there and tested locally that its created at the root of the output folder with mdbook build.

CNAME files are required to display custom domains on whichever branch that GitHub Pages uses.

tmandry commented 9 months ago

Thanks @Qwuke!