combine build and draw
This commit is contained in:
@@ -8,3 +8,19 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
uses: zmkfirmware/zmk/.github/workflows/build-user-config.yml@main
|
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'"
|
||||||
|
|
||||||
|
|||||||
@@ -1,25 +0,0 @@
|
|||||||
name: Draw ZMK keymaps
|
|
||||||
on:
|
|
||||||
workflow_dispatch:
|
|
||||||
push:
|
|
||||||
paths:
|
|
||||||
- ".github/workflows/keymap_draser.yml"
|
|
||||||
- "keymap_drawer.config.yaml"
|
|
||||||
- "config/**"
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
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'"
|
|
||||||
Reference in New Issue
Block a user