22 lines
469 B
YAML
22 lines
469 B
YAML
name: Run build train on config changes
|
|
on:
|
|
push:
|
|
branches:
|
|
- 'main'
|
|
paths:
|
|
- 'config/*.config'
|
|
|
|
jobs:
|
|
|
|
Run:
|
|
name: "Execute workflow"
|
|
if: ${{ github.repository_owner == 'Armbian' }}
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Repository Dispatch
|
|
uses: peter-evans/repository-dispatch@v2
|
|
with:
|
|
token: ${{ secrets.ACCESS_TOKEN }}
|
|
repository: armbian/os
|
|
event-type: "Repository update"
|