Merge pull request #3913 from sungaomeng/main

fix: cicd, delete velcel pre
This commit is contained in:
sungaomeng 2024-01-25 20:00:11 +08:00 committed by GitHub
commit ca08062bf3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

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

View File

@ -11,7 +11,7 @@ env:
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
on:
pull_request:
pull_request_target:
types:
- closed