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 + } +}