mirror of
				https://github.com/continew-org/continew-admin.git
				synced 2025-10-31 10:57:13 +08:00 
			
		
		
		
	ci: 修复部署 workflow,移除 PR 合并触发事件
This commit is contained in:
		
							
								
								
									
										6
									
								
								.github/workflows/deploy.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								.github/workflows/deploy.yml
									
									
									
									
										vendored
									
									
								
							| @@ -4,18 +4,12 @@ on: | ||||
|   # 推送时执行 | ||||
|   push: | ||||
|     branches: [dev] | ||||
|   # pr 被批准合并时执行 1 | ||||
|   pull_request_review: | ||||
|     branches: [dev] | ||||
|     types: [submitted] | ||||
|   # 可手动执行 | ||||
|   workflow_dispatch: | ||||
|  | ||||
| jobs: | ||||
|   # 部署后端服务 | ||||
|   deploy-server: | ||||
|     # pr 被批准合并时执行 2 | ||||
|     if: github.event.review.state == 'approved' | ||||
|     runs-on: ubuntu-latest | ||||
|     steps: | ||||
|       # 1、检出源码 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user