Skip to content

Commit fd7d1af

Browse files
authored
ci: add manual doc generation from autofix (#1452)
1 parent 6d7ce1d commit fd7d1af

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/autofix.yml

+8-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@ on:
44
pull_request:
55
push:
66
branches: [main, alpha, beta]
7+
workflow_dispatch:
8+
inputs:
9+
generate-docs:
10+
description: 'Generate docs'
11+
required: false
12+
default: false
13+
type: boolean
714

815
concurrency:
916
group: ${{ github.workflow }}-${{ github.event.number || github.ref }}
@@ -25,7 +32,7 @@ jobs:
2532
- name: Fix formatting
2633
run: pnpm prettier:write
2734
- name: Generate Docs
28-
if: ${{ github.event_name == 'push' }}
35+
if: ${{ github.event_name == 'push' || github.event.inputs.generate-docs == true }}
2936
run: pnpm docs:generate
3037
- name: Apply fixes
3138
uses: autofix-ci/action@551dded8c6cc8a1054039c8bc0b8b48c51dfc6ef

0 commit comments

Comments
 (0)