From 7a31d98726d428f477c7d712100b998a864a329c Mon Sep 17 00:00:00 2001 From: Rhen Cloud Date: Sat, 24 Jan 2026 00:00:07 +0800 Subject: [PATCH] update --- .github/workflows/build.yml | 11 ++++++++--- vercel.json | 6 ++++++ 2 files changed, 14 insertions(+), 3 deletions(-) create mode 100644 vercel.json diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8a07840..16fe764 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -139,15 +139,20 @@ jobs: uses: actions/download-artifact@v4 with: name: generate-output-${{ steps.commit-hash.outputs.short }} - path: .vercel/output/static + path: dist - name: Install Vercel CLI run: | bun install -g vercel - name: Deploy to Vercel - run: | - vercel --token ${{ secrets.VERCEL_TOKEN }} --prebuilt --yes --prod + uses: amondnet/vercel-action@v25 + with: + vercel-token: ${{ secrets.VERCEL_TOKEN }} # Required + vercel-args: --prod # Optional + vercel-org-id: ${{ secrets.ORG_ID}} # Required + vercel-project-id: ${{ secrets.PROJECT_ID}} # Required + working-directory: dist deploy-edgeone: needs: build diff --git a/vercel.json b/vercel.json new file mode 100644 index 0000000..a892b5d --- /dev/null +++ b/vercel.json @@ -0,0 +1,6 @@ +{ + "version": 2, + "github": { + "enabled": false + } +}