Skip to content

Commit d301ee1

Browse files
committed
Add CNAME for github pages
1 parent fe82370 commit d301ee1

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

content/CNAME

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
automerge.org

system/compile-everything.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ export const compileEverything = () => {
117117
// Now we take everything that's not a page and hardlink it into the public folder.
118118
// We use hardlinks, rather than copying, because it's much faster.
119119
// We use path.replace(), rather than the replace({}) helper, because there can be subfolders named "content"
120-
glob("content/**/*.!(md|html)").forEach((path) => linkFile(path, path.replace("content/", "public/")))
120+
glob("content/**/*.!(md|html)", "content/CNAME").forEach((path) => linkFile(path, path.replace("content/", "public/")))
121121

122122
// Now that the public folder is fully populated, we can run a few validity checks
123123
runValidityChecks(pages)

0 commit comments

Comments
 (0)