Skip to content

Commit e1c3f4e

Browse files
committed
ci: allow branch-dispatched Fern publish tests
1 parent 4978c23 commit e1c3f4e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/build-fern-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ jobs:
8585
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
8686
with:
8787
path: workflow
88-
ref: ${{ github.event.repository.default_branch }}
88+
ref: ${{ github.event_name == 'workflow_dispatch' && github.ref || github.event.repository.default_branch }}
8989

9090
- name: Checkout source
9191
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6

0 commit comments

Comments
 (0)