23 lines
570 B
YAML
23 lines
570 B
YAML
name: Run Build Train on config changes
|
|
run-name: Run build train - Pushed commit "${{ github.event.push.head_commit.message }}"
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- "main"
|
|
paths:
|
|
- "config/*.config"
|
|
|
|
jobs:
|
|
build-train-dispatch:
|
|
name: Send dispatch
|
|
if: ${{ github.repository_owner == 'Armbian' }}
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Repository Dispatch
|
|
uses: peter-evans/repository-dispatch@v3
|
|
with:
|
|
token: ${{ secrets.ACCESS_TOKEN }}
|
|
repository: armbian/os
|
|
event-type: "Repository update"
|