From 3b1d3dc6520fc68369f46691cccff1d8ed64b83e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Gr=C3=BCner?= <47506558+MegaRedHand@users.noreply.github.com> Date: Thu, 28 May 2026 18:09:25 -0300 Subject: [PATCH 1/2] fix(docs): restore docs.ethlambda.xyz custom domain on deploy The mdBook deploy step republished book/html on every run without a CNAME file, so a deploy wiped the custom domain set via the Pages UI. GitHub Pages reset its cname to null and docs.ethlambda.xyz started returning 404 while the default *.github.io path kept serving fine. Set the peaceiris cname input so the CNAME file is rewritten on every deploy, making the custom domain binding durable. --- .github/workflows/pr-main_mdbook.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/pr-main_mdbook.yml b/.github/workflows/pr-main_mdbook.yml index d419c90a..59d39660 100644 --- a/.github/workflows/pr-main_mdbook.yml +++ b/.github/workflows/pr-main_mdbook.yml @@ -110,3 +110,8 @@ jobs: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: book/html destination_dir: . + # Re-write the CNAME file on every deploy so the custom domain + # binding survives. Without this, peaceiris republishes book/html + # without a CNAME, which wipes the custom domain (resetting Pages + # `cname` to null) and makes docs.ethlambda.xyz return 404. + cname: docs.ethlambda.xyz From 37d10593e0c77f43e935109721f7f3ac23baef00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Gr=C3=BCner?= <47506558+MegaRedHand@users.noreply.github.com> Date: Thu, 28 May 2026 18:12:54 -0300 Subject: [PATCH 2/2] fix(docs): drop explanatory comment from cname input --- .github/workflows/pr-main_mdbook.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.github/workflows/pr-main_mdbook.yml b/.github/workflows/pr-main_mdbook.yml index 59d39660..52966962 100644 --- a/.github/workflows/pr-main_mdbook.yml +++ b/.github/workflows/pr-main_mdbook.yml @@ -110,8 +110,4 @@ jobs: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: book/html destination_dir: . - # Re-write the CNAME file on every deploy so the custom domain - # binding survives. Without this, peaceiris republishes book/html - # without a CNAME, which wipes the custom domain (resetting Pages - # `cname` to null) and makes docs.ethlambda.xyz return 404. cname: docs.ethlambda.xyz