docs: redirect old docs urls (#13060)

* docs: redirect old docs urls

* fix: fix start en docs script
This commit is contained in:
Tony
2023-08-17 08:33:40 +08:00
committed by GitHub
parent 816277ceae
commit d1eaccabcb
5 changed files with 146 additions and 34 deletions
+1 -7
View File
@@ -138,15 +138,9 @@ jobs:
cache: 'pnpm'
cache-dependency-path: website/pnpm-lock.yaml
- run: pnpm i
- name: Set environment variable for Node v16 above
if: ${{ matrix.node-version > '16' }}
run: echo "NODE_OPTIONS=--openssl-legacy-provider" >> $GITHUB_ENV
- name: Build docs
run: npm run build
run: pnpm run build
working-directory: website
- name: Unset environment variable for Node v16 above
if: ${{ matrix.node-version > '16' }}
run: echo "NODE_OPTIONS=''" >> $GITHUB_ENV
all:
runs-on: ubuntu-latest