mirror of
				https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
				synced 2025-11-04 08:13:43 +08:00 
			
		
		
		
	fix: cicd , add pull_request_target
This commit is contained in:
		
							
								
								
									
										8
									
								
								.github/workflows/deploy_preview.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								.github/workflows/deploy_preview.yml
									
									
									
									
										vendored
									
									
								
							@@ -1,11 +1,11 @@
 | 
			
		||||
name: VercelPreviewDeployment
 | 
			
		||||
 | 
			
		||||
on:
 | 
			
		||||
  pull_request_target:
 | 
			
		||||
    types:
 | 
			
		||||
      - opened
 | 
			
		||||
      - synchronize
 | 
			
		||||
  workflow_dispatch:
 | 
			
		||||
    inputs:
 | 
			
		||||
      branchName:
 | 
			
		||||
        description: 'Branch to deploy'
 | 
			
		||||
        required: true
 | 
			
		||||
 | 
			
		||||
env:
 | 
			
		||||
  VERCEL_TEAM: ${{ secrets.VERCEL_TEAM }}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user