190fa112dd
* add dispatch to debian CI * test dispatch * keep only master * push+mr * document the functional tests
21 lines
498 B
YAML
21 lines
498 B
YAML
name: Dispatch to deb pkg repo for tests
|
|
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
pull_request:
|
|
branches: [ master ]
|
|
|
|
jobs:
|
|
dispatch:
|
|
name: dispatch to deb pkg repo
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Repository Dispatch
|
|
uses: peter-evans/repository-dispatch@v1
|
|
with:
|
|
token: ${{ secrets.DISPATCH_TOKEN }}
|
|
event-type: test_package_from_master
|
|
repository: crowdsecurity/packaging
|
|
client-payload: '{"branch": "master"}'
|