-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (40 loc) · 1.15 KB
/
index.yml
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
30
31
32
33
34
35
36
37
38
39
40
41
42
name: Index Creation
on:
workflow_dispatch:
inputs:
category_name:
type: string
required: true
description: "The new folder name"
path:
type: string
required: false
description: "The path of the new folder. Ex: category/subcategory"
description:
type: string
required: false
description: "The description of the category."
toc_hide:
type: boolean
required: false
description: "Hide the toc in the index file."
nav_hide:
type: boolean
required: false
description: "Hide the navigation menu in the index file."
dry_run:
type: boolean
required: false
description: "Do not create new category index, just log."
jobs:
run:
uses: ObsidianPublisher/actions/.github/workflows/index.yml@main
with:
category_name: ${{ inputs.category_name}}
path: ${{ inputs.path}}
description: ${{ inputs.description}}
toc_hide: ${{ inputs.toc_hide}}
nav_hide: ${{ inputs.nav_hide}}
dry_run: ${{ inputs.dry_run}}
secrets:
GH_PAT: ${{ secrets.GITHUB_TOKEN }}