ci: actually fix docs configuration

This commit is contained in:
bd_ 2024-07-28 20:35:12 -07:00
parent 17a85325f8
commit e6af038379

View File

@ -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