소스 검색

fix: cicd, alias domain env name

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

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

@@ -41,7 +41,7 @@ jobs:
 
       - name: Set Environment Variables
         id: set_env
-        if: github.event_name == 'pull_request'
+        if: github.event_name == 'pull_request_target'
         run: |
           echo "VERCEL_ALIAS_DOMAIN=${{ github.event.pull_request.number }}-${{ github.workflow }}.${VERCEL_PR_DOMAIN_SUFFIX}" >> $GITHUB_OUTPUT