New build process

- Testing the github actions to build the debian package.
This commit is contained in:
Kevin Scott Adams 2020-08-28 15:22:01 -04:00
parent cad1ef6d44
commit a6e9229677
1 changed files with 17 additions and 0 deletions

17
.github/workflows/action.yml vendored Normal file
View File

@ -0,0 +1,17 @@
name: Dispatch build of the freenas-proxmox plugin package
on:
push:
jobs:
dispatch:
name: Dispatch to build the package
runs-on: ubuntu-latest
steps:
- name: Send dispatch request to 'freenas-proxmox-packer' repo.
uses: peter-evans/repository-dispatch@v1
with:
token: ${{ secrets.ACCESS_TOKEN }}
repository: TheGrandWazoo/freenas-proxmox-packer
event-type: build_push
client-payload: '{"ref" : "${{ github.ref }}", "sha": "${{ github.sha }}"}'