Merge pull request #10 from ToppDev/feature/remove-diodes-from-top #21
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "KiCad CI/CD for Swipe Light main board" | |
# Controls when the action will run. Triggers the workflow on push or pull request | |
# events but only for the master branch | |
on: | |
workflow_dispatch: | |
push: | |
paths: | |
- '*.kicad_sch' | |
- '*.kicad_pcb' | |
- '*.kibot.yaml' | |
- '.github/workflows/run-kibot.yml' | |
jobs: | |
Fabrication: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: INTI-CMNB/KiBot@v2_k6 | |
with: | |
# Required - kibot config file | |
config: main.kibot.yaml | |
# optional - prefix to output defined in config | |
dir: gallery/ | |
# optional - schematic file | |
schema: 'main.kicad_sch' | |
# optional - PCB design file | |
board: 'main.kicad_pcb' | |
# UPDATE GALLERY | |
- name: Update gallery | |
uses: stefanzweifel/[email protected] | |
with: | |
commit_message: "Update gallery (automated)" | |
commit_user_name: GitHub Actions Bot | |
file_pattern: "**/*.png" |