From f52cb4094b50459818c15e5cbf6a996ef7de20df Mon Sep 17 00:00:00 2001 From: Carol Willing Date: Fri, 30 Oct 2026 17:20:32 -0700 Subject: [PATCH 1/2] Add remap to check built site instead of live pyopensci site --- .github/workflows/build-site.yml | 1 + .github/workflows/linkcheck.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/build-site.yml b/.github/workflows/build-site.yml index 97245fa9..245a600d 100644 --- a/.github/workflows/build-site.yml +++ b/.github/workflows/build-site.yml @@ -55,6 +55,7 @@ jobs: --verbose --no-progress './public/**/*.html' --root-dir public public + --remap "https://pyopensci.org public/blog/$1" env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/linkcheck.yml b/.github/workflows/linkcheck.yml index 819b928b..c068417a 100644 --- a/.github/workflows/linkcheck.yml +++ b/.github/workflows/linkcheck.yml @@ -54,6 +54,7 @@ jobs: args: >- --verbose --no-progress './public/**/*.html' + --remap "https://pyopensci.org public/blog/$1" env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} From 8f9a5db27caf36d76e84feda6a9aa2fde8e83015 Mon Sep 17 00:00:00 2001 From: Carol Willing Date: Fri, 30 Oct 2026 17:24:32 -0700 Subject: [PATCH 2/2] reorder the remap and root-dir --- .github/workflows/build-site.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-site.yml b/.github/workflows/build-site.yml index 245a600d..5f96cc80 100644 --- a/.github/workflows/build-site.yml +++ b/.github/workflows/build-site.yml @@ -54,8 +54,8 @@ jobs: args: >- --verbose --no-progress './public/**/*.html' + --remap 'https://pyopensci.org public/blog/$1' --root-dir public public - --remap "https://pyopensci.org public/blog/$1" env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}