From fbcbcd35659f122d274382a5b172628e3fde0cca Mon Sep 17 00:00:00 2001 From: nan Date: Tue, 21 Apr 2026 22:01:28 +0800 Subject: [PATCH] Fix LFS file fetching and update paths for wiki in deploy workflow --- .github/workflows/deploy.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index a8d6edd..2134671 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -39,14 +39,14 @@ jobs: - name: Checkout code uses: actions/checkout@v6 - - name: Fetch docs LFS files + - name: Fetch wiki LFS files run: | git lfs install - git lfs pull --include docs + git lfs pull --include wiki - name: Update VitePress base path run: | - sed -i "s|base: '.*'|base: '$BASE_PATH'|g" docs/.vitepress/config.mts + sed -i "s|base: '.*'|base: '$BASE_PATH'|g" wiki/.vitepress/config.mts echo "Updated base path to: $BASE_PATH" - name: Install pnpm @@ -58,7 +58,7 @@ jobs: run: pnpm install - name: Build VitePress - run: pnpm docs:build + run: pnpm wiki:build - name: Setup Aliyun CLI run: | @@ -76,6 +76,6 @@ jobs: run: | OSS_PATH=oss://${{ secrets.OSS_BUCKET }}$BASE_PATH echo "Deploying to: $OSS_PATH" - aliyun oss cp docs/.vitepress/dist $OSS_PATH --recursive --update + aliyun oss cp wiki/.vitepress/dist $OSS_PATH --recursive --update env: OSS_ENDPOINT: ${{ secrets.OSS_ENDPOINT }}