Skip to content

Commit

Permalink
Merge pull request ChatGPTNextWeb#3913 from sungaomeng/main
Browse files Browse the repository at this point in the history
fix: cicd, delete velcel pre
  • Loading branch information
sungaomeng authored Jan 25, 2024
2 parents 32bcdb8 + ecbab75 commit ca08062
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy_preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/remove_deploy_preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ env:
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}

on:
pull_request:
pull_request_target:
types:
- closed

Expand Down

0 comments on commit ca08062

Please sign in to comment.