Skip to content

Commit

Permalink
ci: debug
Browse files Browse the repository at this point in the history
  • Loading branch information
EvanNotFound committed Dec 1, 2024
1 parent d1cd956 commit cd84a2b
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/preview-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,4 +121,14 @@ jobs:
ALIAS_DOMAINS: |
redefine-preview.vercel.app
redefine-preview-git-{SHA}.vercel.app
PR_PREVIEW_DOMAIN: "redefine-preview-pr-{PR}.vercel.app"
PR_PREVIEW_DOMAIN: "redefine-preview-pr-{PR}.vercel.app"

- name: Debug environment selection
run: |
echo "Event name: ${{ github.event_name }}"
echo "PR author: ${{ github.event.pull_request.user.login }}"
echo "Selected environment: ${{
github.event_name == 'pull_request_target' && github.event.pull_request.user.login == 'EvanNotFound' && 'PR Preview Bypass' ||
github.event_name == 'pull_request_target' && 'PR Preview' ||
'Preview'
}}"

0 comments on commit cd84a2b

Please sign in to comment.