From 43df6eca99c9f7163f10a376c9217524f98bf857 Mon Sep 17 00:00:00 2001 From: Jacob Tomlinson Date: Thu, 19 Nov 2026 14:33:16 +0000 Subject: [PATCH] Use dask.org as the production canonical origin Co-authored-by: Jacob Tomlinson's Agent <307618193+jacobtomlinson-bot@users.noreply.github.com> --- .github/workflows/pages.yml | 2 -- README.md | 3 +-- astro.config.mjs | 2 +- scripts/static-checks.mjs | 2 +- 4 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index 2ab3b9b..cec5d2e 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -29,8 +29,6 @@ jobs: - run: npm ci - run: npx playwright install --with-deps chromium - run: npm run check - env: - SITE_URL: ${{ vars.SITE_URL || 'https://dask.github.io' }} - uses: actions/upload-pages-artifact@7b1f4a764d45c48632c6b24a0339c27f5614fb0b # v4 with: path: dist diff --git a/README.md b/README.md index 4258210..23104c2 100644 --- a/README.md +++ b/README.md @@ -17,8 +17,7 @@ layouts, animations and redirects. GitHub Actions CI checks pull requests. The Pages workflow builds and publishes upstream main, with separate build and deployment jobs and main-only manual runs. Read the Docs builds native Astro PR previews with version-mounted links, -assets and canonical URLs. The default Pages origin is https://dask.github.io/; -`SITE_URL` configures the build origin. +assets and canonical URLs. The production canonical origin is https://dask.org/. Blog, events and the news archive routes target https://blog.dask.org/. Known routes include HTML redirects; unknown scoped paths use the static 404 diff --git a/astro.config.mjs b/astro.config.mjs index dee12e4..888527a 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -1,6 +1,6 @@ import { defineConfig } from 'astro/config'; export default defineConfig({ output: 'static', - site: process.env.SITE_URL || 'https://dask.github.io', + site: 'https://dask.org', devToolbar: { enabled: false }, }); diff --git a/scripts/static-checks.mjs b/scripts/static-checks.mjs index 828cb03..56ca63b 100644 --- a/scripts/static-checks.mjs +++ b/scripts/static-checks.mjs @@ -24,7 +24,7 @@ for (const [file, expected] of Object.entries(manifest.legacy)) { 'built legacy ' + file, ); } -const origin = process.env.SITE_URL || 'https://dask.github.io'; +const origin = 'https://dask.org'; for (const slug of [ '', 'get-started',