Skip to content

Commit

Permalink
keymap testing
Browse files Browse the repository at this point in the history
  • Loading branch information
chase-hunter authored Nov 19, 2023
1 parent aa44bf1 commit 39824a0
Show file tree
Hide file tree
Showing 4 changed files with 1,087 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ jobs:
python-version: '3.10'
- run: pip install keymap_drawer
- name: 'Parse ZMK keymap'
run: keymap -c ./keymap_img/temper_keymap_config.yaml parse -c 10 -z ./config/temper.keymap --base-keymap ./keymap_img/temper_keymap_base.yaml > ./keymap_img/temper_keymap.yaml
run: keymap -c ./keymap_img/dance_keymap_config.yaml parse -c 10 -z ./config/dance.keymap --base-keymap ./keymap_img/dance_keymap_base.yaml > ./keymap_img/dance_keymap.yaml
- name: 'Draw keymap'
run: keymap -c ./keymap_img/temper_keymap_config.yaml draw --select-layers default num nav fun -k chocofi ./keymap_img/temper_keymap.yaml > ./keymap_img/temper_keymap.svg
run: keymap -c ./keymap_img/dance_keymap_config.yaml draw --select-layers default num nav fun -k chocofi ./keymap_img/dance_keymap.yaml > ./keymap_img/dance_keymap.svg
- name: 'Commit keymap image'
run: |
git config --global user.name 'GitHub Actions'
git config --global user.email '[email protected]'
git add ./keymap_img/temper_keymap.svg
git add ./keymap_img/dance_keymap.svg
git commit -m 'doc: update keymap image'
continue-on-error: true
- name: 'Push keymap image'
Expand Down
Loading

0 comments on commit 39824a0

Please sign in to comment.