From 4807563d9d417fee0cfe192714ed783a60581dc8 Mon Sep 17 00:00:00 2001 From: Kabilar Gunalan Date: Wed, 10 Jun 2026 15:50:23 -0500 Subject: [PATCH] Set GitHub Pages custom domain to stats.dandiarchive.org Add a CNAME file and copy it into the deployed _site artifact so the official GitHub Pages flow serves the site at stats.dandiarchive.org (matching the stats subdomain added in dandi/dandi-infrastructure#279). Co-Authored-By: Claude Opus 4.8 --- .github/workflows/deploy-pages.yml | 1 + src/CNAME | 1 + 2 files changed, 2 insertions(+) create mode 100644 src/CNAME diff --git a/.github/workflows/deploy-pages.yml b/.github/workflows/deploy-pages.yml index d3a2d5a..024d280 100644 --- a/.github/workflows/deploy-pages.yml +++ b/.github/workflows/deploy-pages.yml @@ -45,6 +45,7 @@ jobs: - name: Stage site run: | mkdir -p _site + cp src/CNAME _site/ cp src/index.html _site/ cp src/summary_timeseries.csv _site/ cp src/summary_sizes.csv _site/ diff --git a/src/CNAME b/src/CNAME new file mode 100644 index 0000000..5b8bf41 --- /dev/null +++ b/src/CNAME @@ -0,0 +1 @@ +stats.dandiarchive.org