Update .github/workflows/vercel-preview.yaml
All checks were successful
Node.js CI / build (18.x) (pull_request) Successful in 59s
Node.js CI / build (20.x) (pull_request) Successful in 59s
Node.js CI / build (22.x) (pull_request) Successful in 59s
Vercel Preview Deployment / Deploy-Preview (pull_request) Successful in 1m11s

Remove push on main from triggering the preview build.
This commit is contained in:
2025-09-19 04:41:25 +00:00
parent d014ff2a5f
commit 23503923d0

View File

@@ -4,8 +4,8 @@ env:
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
on:
# Trigger the workflow on push or pull request,
push:
branches: [main, stable]
# push:
# branches: [main, stable]
pull_request:
# These types of PRs
types: [opened, synchronize, reopened]