fix(web): 如果UI扩展自定义导航栏接口返回的某个导航项的path
与某个已有的路径的clickToPath
相同(之前只检查…
#1711
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy Docs to GitHub Pages | |
on: | |
push: | |
paths: | |
- docs/** | |
branches: | |
- master | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
deploy-docs: | |
name: Deploy to GitHub Pages | |
runs-on: ${{ vars.ACTION_RUNNER_LABEL }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v4.0.0 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18.x | |
cache: pnpm | |
- name: Install dependencies | |
run: pnpm i --frozen-lockfile | |
- name: Build website | |
run: pnpm run --filter docs... build | |
env: | |
GIT_PLATFORM: github | |
CR_URL: ghcr.io/${{ github.event.repository.name }} | |
BASE_PATH: /${{ github.event.repository.name }}/ | |
- name: Deploy to GitHub Pages | |
uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
folder: ./docs/build | |
clean-exclude: pr-preview/ | |
force: false |