-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (36 loc) · 1.27 KB
/
keymap_drawer.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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'"
upload_svg:
needs: draw
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: upload
uses: emmanuelgautier/[email protected]
with:
cloud-name: ${{ secrets.CLOUDINARY_CLOUD_NAME }}
api-key: ${{ secrets.CLOUDINARY_API_KEY }}
api-secret: ${{ secrets.CLOUDINARY_API_SECRET }}
image: "./keymap-drawer/cygnus.svg"