mirror of
https://github.com/bdunderscore/modular-avatar.git
synced 2025-01-31 02:32:53 +08:00
ci: fix docs build
This commit is contained in:
parent
d8e01234f0
commit
17a85325f8
3
.github/workflows/build-test-docs.yml
vendored
3
.github/workflows/build-test-docs.yml
vendored
@ -62,7 +62,8 @@ jobs:
|
|||||||
${{ runner.os }}-yarn-docs-
|
${{ runner.os }}-yarn-docs-
|
||||||
|
|
||||||
- name: Set baseUri
|
- name: Set baseUri
|
||||||
if: ${{ inputs.path }}
|
# disable this for now as the main branch snapshot isn't ready for this baseUrl change
|
||||||
|
if: ${{ inputs.path && inputs.ref != 'main' }}
|
||||||
run: |
|
run: |
|
||||||
BASEURL="/${{ inputs.path }}/" perl -i -p -e "s{baseUrl: '/'}{baseUrl: '\$ENV{BASEURL}'}" docs~/docusaurus.config.js
|
BASEURL="/${{ inputs.path }}/" perl -i -p -e "s{baseUrl: '/'}{baseUrl: '\$ENV{BASEURL}'}" docs~/docusaurus.config.js
|
||||||
cat docs~/docusaurus.config.js
|
cat docs~/docusaurus.config.js
|
||||||
|
Loading…
Reference in New Issue
Block a user