File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -17,16 +17,16 @@ jobs:
1717 - name : Set Base Url
1818 run : |
1919 BRANCH=$(echo ${GITHUB_REF} | sed -e 's/refs\/heads\///')
20- BEFORE='base: '' '
20+ BEFORE='base: "" '
2121 if [[ $BRANCH == ver/* ]]; then
2222 BRANCH_NAME=$(echo $BRANCH | sed 's|origin/||')
2323 AFTER=$(echo $BRANCH_NAME | sed 's|build/ver/||')
24- AFTER=" base: '/ ${AFTER}/'"
24+ AFTER=' base: " ${AFTER}"'
2525 else
26- AFTER='base: '' '
26+ AFTER='base: "" '
2727 fi
2828 echo $AFTER
29- sed -i "s/${BEFORE}/${AFTER}/g" " ./docs/.vitepress/config.mts"
29+ sed -i "s/${BEFORE}/${AFTER}/g" ./docs/.vitepress/config.mts
3030
3131 - name : Setup Node.js
3232 uses : actions/setup-node@v2
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ const vitepressOptions: UserConfig = {
2727 description : "Docs of CommandAPI" ,
2828 cleanUrls : true ,
2929 metaChunk : true ,
30- base : '' , // do not change this line
30+ base : "" , // do not change this line
3131 ignoreDeadLinks : true , // TODO remove when all things are done
3232 rewrites : {
3333 'en/:rest*' : ':rest*'
You can’t perform that action at this time.
0 commit comments