Skip to content

Commit c9c3010

Browse files
committed
Fix case direction
1 parent bf845ae commit c9c3010

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,8 @@ jobs:
5353
run: pnpm build
5454
env:
5555
OG_IMAGE_SECRET:
56-
${{ case( github.event_name == 'push' ||
57-
github.event.pull_request.head.repo.fork, 'fork-og-image-secret',
58-
secrets.OG_IMAGE_SECRET) }}
56+
${{ case(github.event.pull_request.head.repo.fork,
57+
'fork-og-image-secret', secrets.OG_IMAGE_SECRET) }}
5958

6059
- name: Install Playwright browsers
6160
run: pnpm exec playwright install --with-deps chromium

0 commit comments

Comments
 (0)