Skip to content

Commit

Permalink
restore main check to action (#245)
Browse files Browse the repository at this point in the history
  • Loading branch information
ethangardner authored Jul 1, 2024
1 parent 4bfbbc5 commit d76a311
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/_playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
echo "Workflow triggered by actor '${{ github.actor }}''."
- name: Determine E2E_ENDPOINT
run: >
echo E2E_ENDPOINT=$(if [[ "${{ github.event_name }}" == "pull_request" ]]; then
echo E2E_ENDPOINT=$(if [[ "${{ github.event_name }}" == "pull_request" && "${{ github.head_ref }}" != "main" ]]; then
echo "${{ vars.PREVIEW_URL }}/${{ github.head_ref }}";
else
echo "${{ vars.MAIN_URL }}";
Expand Down

0 comments on commit d76a311

Please sign in to comment.