소스 검색

fix: cicd , add pull_request_target

孙高猛 2 년 전
부모
커밋
6206ceb49b
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 4 4
      .github/workflows/deploy_preview.yml

+ 4 - 4
.github/workflows/deploy_preview.yml

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