fix file extension and pcb path

This commit is contained in:
gab-k committed 2024-11-26 15:01:44 +01:00
1 parent 0736054a49
commit 7779207858
1 file changed
+2 -2
@@ -5,7 +5,7 @@ on:
- dev # Trigger on push to 'dev' branch - dev # Trigger on push to 'dev' branch
- main # Trigger on push to 'main' branch - main # Trigger on push to 'main' branch
paths: paths:
- '.github/workflows/pcb_render.yaml' # Trigger if this workflow file changes - '.github/workflows/pcb_render.yml' # Trigger if this workflow file changes
- 'KiCad/**' # Trigger if any file in the 'KiCad' directory changes - 'KiCad/**' # Trigger if any file in the 'KiCad' directory changes
jobs: jobs:
@@ -19,7 +19,7 @@ jobs:
- name: Render PCB image - name: Render PCB image
uses: linalinn/kicad-render@main uses: linalinn/kicad-render@main
with: with:
pcb_file: <path from repo root to .kicad_pcb> pcb_file: KiCad/RP2040-Decoder.kicad_pcb
output_path: ${{ github.workspace }}/images output_path: ${{ github.workspace }}/images
- name: Commit and push rendered images to the repository - name: Commit and push rendered images to the repository