ソースを参照

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