fix: cicd, alias domain env name

This commit is contained in:
孙高猛 2024-01-25 19:54:58 +08:00
parent 15d25df245
commit ecbab75a25

View File

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