generated from moergo-sc/glove80-zmk-config
-
Notifications
You must be signed in to change notification settings - Fork 4
21 lines (20 loc) · 948 Bytes
/
draw-keymaps.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
name: Draw keymaps
on:
workflow_dispatch: # can be triggered manually
push: # automatically run on changes to following paths
paths:
- "config/*.keymap"
- "config/keymap_drawer.yaml"
jobs:
draw:
uses: caksoylar/keymap-drawer/.github/workflows/draw-zmk.yml@main
permissions:
contents: write # allow workflow to commit to the repo
with:
install_branch: "main" # `svg_extra_style` isn't in 0.11.0, so use `main` for now
keymap_patterns: "config/*.keymap" # path to the keymaps to parse
config_path: "config/keymap_drawer.yaml" # config file, ignored if not exists
output_folder: "keymap-drawer" # path to save produced SVG and keymap YAML files
parse_args: "" # map of extra args to pass to `keymap parse`
draw_args: "" # map of extra args to pass to `keymap draw`
commit_message: "[Draw] ${{ github.event.head_commit.message }}"