mirror of
https://github.com/Ajetski/corne-zmk-config.git
synced 2025-11-27 11:42:44 -10:00
27 lines
874 B
YAML
27 lines
874 B
YAML
name: Build ZMK firmware
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
paths:
|
|
- "config/**"
|
|
|
|
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'"
|
|
|