diff --git a/.github/workflows/build-test-docs.yml b/.github/workflows/build-test-docs.yml index 66881172..b44313d4 100644 --- a/.github/workflows/build-test-docs.yml +++ b/.github/workflows/build-test-docs.yml @@ -62,8 +62,7 @@ jobs: ${{ runner.os }}-yarn-docs- - 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 }} run: | BASEURL="/${{ inputs.path }}/" perl -i -p -e "s{baseUrl: '/'}{baseUrl: '\$ENV{BASEURL}'}" docs~/docusaurus.config.js cat docs~/docusaurus.config.js