Skip to content

Commit 22f728b

Browse files
committed
chore(config): move keymap drawer config
1 parent a14bc86 commit 22f728b

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

.github/workflows/draw.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ on:
88
- "config/*.keymap"
99
- "config/*.dtsi"
1010
- "knucklehead/*.dtsi"
11-
- "keymap_drawer.config.yaml"
11+
- "keymap-drawer/config.yaml"
12+
- ".github/workflows/draw.yml"
1213

1314
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
1415
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
@@ -24,8 +25,8 @@ jobs:
2425
with:
2526
install_branch: "main" # branch to install keymap-drawer from
2627
keymap_patterns: "config/*.keymap" # path to the keymaps to parse
27-
config_path: "keymap_drawer.config.yaml" # config file, ignored if not exists
28-
output_folder: "img" # path to save produced SVGs
28+
config_path: "keymap-drawer/config.yaml" # config file, ignored if it doesn't exist
29+
output_folder: "keymap-drawer" # path to save produced SVGs
2930
# commit_message: "Draw: ${{ github.event.head_commit.message }}"
3031
amend_commit: true # whether to amend the commit or create a new one
3132

File renamed without changes.

scripts/draw.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/bin/sh
22

3-
keymap -c ./keymap_drawer.config.yaml parse -z ./config/${1}.keymap >./img/${1}.yaml
4-
keymap -c ./keymap_drawer.config.yaml draw ./img/${1}.yaml >./img/${1}.svg
3+
keymap -c ./keymap-drawer/config.yaml parse -z ./config/${1}.keymap >./keymap-drawer/${1}.yaml
4+
keymap -c ./keymap-drawer/config.yaml draw ./img/${1}.yaml >./keymap-drawer/${1}.svg

0 commit comments

Comments
 (0)