fix: cicd , add pull_request_target

This commit is contained in:
孙高猛 2024-01-25 15:00:44 +08:00
parent 628f3ba05f
commit 6206ceb49b

View File

@ -1,11 +1,11 @@
name: VercelPreviewDeployment name: VercelPreviewDeployment
on: on:
pull_request_target:
types:
- opened
- synchronize
workflow_dispatch: workflow_dispatch:
inputs:
branchName:
description: 'Branch to deploy'
required: true
env: env:
VERCEL_TEAM: ${{ secrets.VERCEL_TEAM }} VERCEL_TEAM: ${{ secrets.VERCEL_TEAM }}