added flow for keymap drawer
This commit is contained in:
15
.github/workflows/keymap-drawer.yml
vendored
Normal file
15
.github/workflows/keymap-drawer.yml
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
name: Draw ZMK keymaps
|
||||
on: [workflow_dispatch]
|
||||
|
||||
jobs:
|
||||
draw:
|
||||
uses: caksoylar/keymap-drawer/.github/workflows/draw-zmk.yml@main
|
||||
permissions:
|
||||
contents: write # allow workflow to commit to the repo
|
||||
with:
|
||||
amend_commit: true
|
||||
keymap_patterns: "config/*.keymap" # path to the keymaps to parse
|
||||
config_path: "images/config_keymap-drawer.yaml" # config file, ignored if not exists
|
||||
output_folder: "images" # path to save produced SVG and keymap YAML files
|
||||
parse_args: "" # map of extra args to pass to `keymap parse`, e.g. "corne:'-l Def Lwr Rse' cradio:''"
|
||||
draw_args: "" # map of extra args to pass to `keymap draw`, e.g. "corne:'-k corne_rotated' cradio:'-k paroxysm'"
|
||||
Reference in New Issue
Block a user