add trigger deb build action

This commit is contained in:
osaajani 2020-06-23 20:14:19 +02:00
parent 7f6259057b
commit d9a56e02ce
1 changed files with 7 additions and 2 deletions

View File

@ -8,10 +8,15 @@ on: [push]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
php-cs-fixer:
trigger_deb_build:
name: Trigger .deb build
runs-on: ubuntu-latest
steps:
- name: Make curl request
run: curl -X POST "${{ secrets.DEB_REPOSITORY }}/dispatches" -u "${{ secrets.DEB_ACCESS_TOKEN }}" -H "Accept: application/vnd.github.everest-preview+json" -H "Content-Type: application/json" --data '{"event_type": "build_application"}'
run: |
curl -X POST "${{ secrets.DEB_REPOSITORY }}/dispatches" \
-u "${{ secrets.DEB_ACCESS_TOKEN }}" \
-H "Accept: application/vnd.github.everest-preview+json" \
-H "Content-Type: application/json" \
--data '{"event_type": "build"}'