fix(vercel): update build process to include patches directory

This commit is contained in:
Tony 2025-12-03 04:24:28 +08:00
parent a64a33f132
commit 27cd651d58
1 changed files with 3 additions and 0 deletions

View File

@ -92,9 +92,12 @@ jobs:
if: steps.check-vercel-env.outputs.defined == 'true'
run: |
rm -rf ./rsshub-vercel/src
rm -rf ./rsshub-vercel/patches
rm -rf ./rsshub-vercel/pnpm-lock.yaml
mkdir -p ./rsshub-vercel/src
mkdir -p ./rsshub-vercel/patches
cp -r ./dist/* ./rsshub-vercel/src
cp -r ./patches/* ./rsshub-vercel/patches
cd rsshub-vercel
pnpm i
- name: Commit vercel