29 lines
663 B
YAML
29 lines
663 B
YAML
name: Dispatch to deb pkg repo for tests
|
|
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
paths-ignore:
|
|
- 'docs/**'
|
|
- 'mkdocs.yml'
|
|
- 'README.md'
|
|
pull_request:
|
|
branches: [ master ]
|
|
paths-ignore:
|
|
- 'docs/**'
|
|
- 'mkdocs.yml'
|
|
- 'README.md'
|
|
|
|
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": "${{ github.ref }}"}'
|