From 7f6259057bc5d337c4b9bd37e09892b2d6e86544 Mon Sep 17 00:00:00 2001 From: osaajani <> Date: Tue, 23 Jun 2020 20:11:40 +0200 Subject: [PATCH] add trigger deb build action --- .github/workflows/trigger_deb_build.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/trigger_deb_build.yml diff --git a/.github/workflows/trigger_deb_build.yml b/.github/workflows/trigger_deb_build.yml new file mode 100644 index 0000000..1a3a9e5 --- /dev/null +++ b/.github/workflows/trigger_deb_build.yml @@ -0,0 +1,17 @@ +# This is a basic workflow to help you get started with Actions + +name: Trigger .deb build + +# Controls when the action will run. Triggers the workflow on push or pull request +# events but only for the master branch +on: [push] + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + php-cs-fixer: + 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"}' +