From 22555632bf72ee73888493509c99ae790769bdff Mon Sep 17 00:00:00 2001 From: bd_ Date: Sun, 28 Jul 2024 20:36:44 -0700 Subject: [PATCH] Revert "ci: actually fix docs configuration" This reverts commit e6af038379136e237eaa62e80874fcd95ce3b118. --- .github/workflows/build-test-docs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-test-docs.yml b/.github/workflows/build-test-docs.yml index 215846cc..66881172 100644 --- a/.github/workflows/build-test-docs.yml +++ b/.github/workflows/build-test-docs.yml @@ -63,7 +63,7 @@ jobs: - name: Set baseUri # disable this for now as the main branch snapshot isn't ready for this baseUrl change - if: ${{ inputs.path && inputs.ref == 'main' }} + if: ${{ inputs.path && inputs.ref != 'main' }} run: | BASEURL="/${{ inputs.path }}/" perl -i -p -e "s{baseUrl: '/'}{baseUrl: '\$ENV{BASEURL}'}" docs~/docusaurus.config.js cat docs~/docusaurus.config.js