Skip to content

Commit 938b2d9

Browse files
committed
Re-enable workflow_dispatch for doc.yml
1 parent 599f8e9 commit 938b2d9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/docs.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ on:
99
- "packages/**/*.ts"
1010
- "packages/**/*.tsx"
1111
- "scripts/docs.ts"
12+
workflow_dispatch:
13+
inputs:
14+
branch:
15+
description: "Branch to generate docs for (usually dev)"
16+
required: true
1217

1318
concurrency:
1419
group: ${{ github.workflow }}-${{ github.ref }}
@@ -24,6 +29,7 @@ jobs:
2429
uses: actions/checkout@v4
2530
with:
2631
token: ${{ secrets.FORMAT_PAT }}
32+
ref: ${{ github.event.inputs.branch }}
2733

2834
- name: 📦 Setup pnpm
2935
uses: pnpm/action-setup@v4

0 commit comments

Comments
 (0)