From 4c6e23bb91b2cc3b41a62d51595e02c360d8d394 Mon Sep 17 00:00:00 2001 From: Matt Sturgeon Date: Tue, 26 Mar 2024 10:21:16 +0000 Subject: [PATCH] fixup! refactor(ci): use flake to draw SVGs --- .github/workflows/draw-keymaps.yml | 2 +- drawer/default.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/draw-keymaps.yml b/.github/workflows/draw-keymaps.yml index 83a320d..bbb29cc 100644 --- a/.github/workflows/draw-keymaps.yml +++ b/.github/workflows/draw-keymaps.yml @@ -36,5 +36,5 @@ jobs: uses: stefanzweifel/git-auto-commit-action@v4 with: commit_message: "[Draw] ${{ github.event.head_commit.message || '(Manually triggered)' }}" - file_pattern: ${{ env.output_folder }}/*.svg ${{ env.output_folder }}/*.yaml + file_pattern: img/*.svg img/*.yaml diff --git a/drawer/default.nix b/drawer/default.nix index 3e018be..c65b70a 100644 --- a/drawer/default.nix +++ b/drawer/default.nix @@ -43,7 +43,7 @@ in { do name="$(basename --suffix=".keymap" "$file")" config="$out/$name.yaml" - echo "Found keymap $name" + echo "Found $name keymap" echo "- Parsing keymap-drawer" $cmd parse --zmk-keymap "$file" > "$config"