Skip to content

Commit

Permalink
Revert "feat(GH): combine and reuse workflows (#26)"
Browse files Browse the repository at this point in the history
This reverts commit da192fb.
  • Loading branch information
ClemensElflein committed Aug 8, 2022
1 parent da192fb commit c7388a3
Show file tree
Hide file tree
Showing 3 changed files with 65 additions and 112 deletions.
112 changes: 0 additions & 112 deletions .github/workflows/ci.yaml

This file was deleted.

17 changes: 17 additions & 0 deletions .github/workflows/kibot-commit-check.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: CI

on: [push]

jobs:
erc-drc-checks:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: INTI-CMNB/KiBot@v2_k6
with:
config: Hardware/OpenMowerMainboard/OpenMowerMainboard.kibot.yaml
board: Hardware/OpenMowerMainboard/OpenMowerMainboard.kicad_pcb
verbose: 1
48 changes: 48 additions & 0 deletions .github/workflows/kibot-release-from-tag.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: tagged-release

on:
push:
tags:
- "v*"

jobs:
tagged-release:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: INTI-CMNB/KiBot@v2_k6
with:
config: Hardware/OpenMowerMainboard/OpenMowerMainboard.kibot.yaml
board: Hardware/OpenMowerMainboard/OpenMowerMainboard.kicad_pcb
skip: run_drc,run_erc

- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: false
files: release/*

- name: Deploy release
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: release
destination_dir: release

- name: Deploy release_navigator
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: release_navigator
destination_dir: release_navigator
keep_files: true

- name: Deploy release_navigator index
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: release_navigator
keep_files: true

0 comments on commit c7388a3

Please sign in to comment.