Skip to content

Commit

Permalink
fix: cicd, alias domain env name
Browse files Browse the repository at this point in the history
  • Loading branch information
孙高猛 committed Jan 25, 2024
1 parent 15d25df commit ecbab75
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit ecbab75

Please sign in to comment.