-
Notifications
You must be signed in to change notification settings - Fork 0
29 lines (26 loc) · 731 Bytes
/
docs.yml
File metadata and controls
29 lines (26 loc) · 731 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: Generate Docs
on:
workflow_run:
workflows: ["CI"]
types: [completed]
branches: [master]
workflow_dispatch:
inputs:
dry_run:
description: 'Dry run (no wiki push)'
type: boolean
default: false
concurrency:
group: docs-${{ github.ref }}
cancel-in-progress: true
jobs:
docs:
runs-on: ubuntu-latest
if: ${{ github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'success' }}
steps:
- uses: actions/checkout@v4
- uses: HanSur94/wiki-gen-action@v1
with:
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
wiki_pat: ${{ secrets.WIKI_PAT }}
dry_run: ${{ inputs.dry_run || 'false' }}