Skip to content

fix workflow

fix workflow #3

Workflow file for this run

name: "KiCad CI/CD"
# 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/kibot.yml'
pull_request:
paths:
- '**.kicad_sch'
- '**.kicad_pcb'
- '**.kibot.yaml'
- '.github/workflows/kibot.yml'
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
kibot:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: generate PCB documentation
uses: INTI-CMNB/KiBot@v2_k7
with:
config: kicad/pcb/config.kibot.yaml
dir: 'documentation'
schema: 'kicad/pcb/bully.kicad_sch'
board: 'kicad/pcb/bully.kicad_pcb'
verbose: 0
continue-on-error: true
- uses: EndBug/add-and-commit@v9
with:
add: 'documentation'
message: '[kibot]'