Merge pull request #3913 from sungaomeng/main
fix: cicd, delete velcel pre
This commit is contained in:
commit
ca08062bf3
2
.github/workflows/deploy_preview.yml
vendored
2
.github/workflows/deploy_preview.yml
vendored
@ -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
|
||||
|
||||
|
2
.github/workflows/remove_deploy_preview.yml
vendored
2
.github/workflows/remove_deploy_preview.yml
vendored
@ -11,7 +11,7 @@ env:
|
||||
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
pull_request_target:
|
||||
types:
|
||||
- closed
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user