GitHub Actions setup for dispatching Wizard builds

This commit is contained in:
emad-salah 2020-07-19 12:58:09 +01:00
parent 60a0311692
commit 296269991c

21
.github/workflows/main.yml vendored Normal file
View file

@ -0,0 +1,21 @@
name: Update Wizard
on:
push:
branches: [ 'feature/synchronized-wizard-builds' ]
pull_request:
branches: [ 'feature/synchronized-wizard-builds' ]
jobs:
dispatch:
strategy:
matrix:
repo: ['shocknet/Wizard']
runs-on: ubuntu-latest
steps:
- name: Repository Dispatch
uses: peter-evans/repository-dispatch@v1
with:
token: ${{ secrets.REPO_ACCESS_TOKEN }}
repository: ${{ matrix.repo }}
event-type: api-update