mirror of
https://github.com/Ajetski/corne-zmk-config.git
synced 2026-02-26 16:56:24 -10:00
refactor: keymap-drawer config
This commit is contained in:
@@ -2,25 +2,9 @@ name: Build ZMK firmware
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
paths:
|
||||
- "config/**"
|
||||
paths-ignore:
|
||||
- "keymap-drawer/**"
|
||||
|
||||
jobs:
|
||||
build:
|
||||
uses: zmkfirmware/zmk/.github/workflows/build-user-config.yml@main
|
||||
draw:
|
||||
uses: caksoylar/keymap-drawer/.github/workflows/draw-zmk.yml@main
|
||||
permissions:
|
||||
contents: write
|
||||
with:
|
||||
commit_message: "[Draw] ${{ github.event.head_commit.message }}"
|
||||
amend_commit: false
|
||||
install_branch: "main"
|
||||
keymap_patterns: "config/*.keymap"
|
||||
json_path: "config"
|
||||
config_path: "keymap_drawer.config.yaml" # config file, ignored if not exists
|
||||
output_folder: "keymap-drawer"
|
||||
destination: "both"
|
||||
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'"
|
||||
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
name: Draw Keymap
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
paths:
|
||||
- "config/**"
|
||||
- .github/workflows/draw.yml
|
||||
- keymap_drawer.config.yaml
|
||||
|
||||
jobs:
|
||||
draw:
|
||||
uses: caksoylar/keymap-drawer/.github/workflows/draw-zmk.yml@main
|
||||
permissions:
|
||||
contents: write
|
||||
with:
|
||||
commit_message: "[Draw] ${{ github.event.head_commit.message }}"
|
||||
destination: "commit"
|
||||
fail_on_error: ${{ fromJSON(true) }}
|
||||
Reference in New Issue
Block a user