diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ba82ad2..dd4e225 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,7 +12,12 @@ jobs: check: runs-on: ubuntu-latest steps: + # Full history, because site/build.py reads the latest tag for the + # masthead's release link; a shallow, tagless checkout would make + # the site --check step compare against the fallback constant. - uses: actions/checkout@v5 + with: + fetch-depth: 0 - uses: actions/setup-go@v6 with: diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index 1b90d57..6a24866 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -23,7 +23,13 @@ jobs: url: ${{ steps.deploy.outputs.page_url }} runs-on: ubuntu-latest steps: + # Full history, because the masthead's release link comes from + # `git describe --tags` at build time. A shallow, tagless checkout + # would make the --check step compare against the fallback constant + # instead of the real tag. - uses: actions/checkout@v5 + with: + fetch-depth: 0 # The HTML is committed so the site is readable in the repo, which # only works if it matches the generator. This is what keeps them diff --git a/site/404.html b/site/404.html index 2fd2b92..1a00365 100644 --- a/site/404.html +++ b/site/404.html @@ -55,10 +55,9 @@
skip to content