mirror of
https://github.com/Noratrieb/website.git
synced 2026-01-14 17:05:02 +01:00
cname
This commit is contained in:
parent
a0fc7dc5a2
commit
56da12a5bc
1 changed files with 8 additions and 0 deletions
|
|
@ -18,5 +18,13 @@ pub fn assemble_website(config: &Config, submodules: &Path, dist: &Path) -> Resu
|
|||
)
|
||||
.wrap_err("building slides")?;
|
||||
|
||||
add_cname(dist)?;
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
||||
fn add_cname(dist: &Path) -> Result<()> {
|
||||
let cname = "next.nilstrieb.dev\n";
|
||||
std::fs::write(dist.join("CNAME"), cname).wrap_err("writing cname")?;
|
||||
Ok(())
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue