From 56f6e9388fe8e05dd663a2562a7dd08188f3df90 Mon Sep 17 00:00:00 2001 From: Steve Piercy Date: Mon, 18 Nov 2024 04:22:44 -0800 Subject: [PATCH 1/2] Fix RTD pull request previews --- .github/workflows/rtd-pr-preview.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/rtd-pr-preview.yml b/.github/workflows/rtd-pr-preview.yml index bf7bd5aef..4f434473e 100644 --- a/.github/workflows/rtd-pr-preview.yml +++ b/.github/workflows/rtd-pr-preview.yml @@ -18,5 +18,5 @@ jobs: steps: - uses: readthedocs/actions/preview@v1 with: - project-slug: "plone6" + project-slug: "plonetraining" single-version: "true" From ee4564abe963a4839c32cacd2a8dc436fabda2c6 Mon Sep 17 00:00:00 2001 From: Steve Piercy Date: Mon, 18 Nov 2024 04:30:20 -0800 Subject: [PATCH 2/2] Include .github/workflows/rtd-pr-preview.yml as "docs" --- .readthedocs.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 1e964baa9..4ce807b46 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -18,7 +18,7 @@ build: # If there are no changes (git diff exits with 0) we force the command to return with 183. # This is a special exit code on Read the Docs that will cancel the build immediately. - | - if [ "$READTHEDOCS_VERSION_TYPE" = "external" ] && git diff --quiet origin/main -- docs/ .readthedocs.yaml requirements.txt; + if [ "$READTHEDOCS_VERSION_TYPE" = "external" ] && git diff --quiet origin/main -- docs/ .github/workflows/rtd-pr-preview.yml .readthedocs.yaml requirements.txt; then exit 183; fi