From 038f9a8eb8c625cf3ef43af8931c91b8ec637d42 Mon Sep 17 00:00:00 2001 From: AsfaMumtaz Date: Mon, 29 Jul 2024 23:48:26 +0500 Subject: [PATCH] Reloader Enterprise (#707) * Reloader Enterprise * Update reloader-enterprise.yml --------- Co-authored-by: Karl Johan Grahn <6355577+karl-johan-grahn@users.noreply.github.com> --- .github/workflows/reloader-enterprise.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/reloader-enterprise.yml diff --git a/.github/workflows/reloader-enterprise.yml b/.github/workflows/reloader-enterprise.yml new file mode 100644 index 000000000..e3ba7074e --- /dev/null +++ b/.github/workflows/reloader-enterprise.yml @@ -0,0 +1,18 @@ +name: Dispatch Event Reloader Enterprise + +on: + push: + branches: + - master + +jobs: + dispatch: + runs-on: ubuntu-latest + steps: + - name: Trigger target repository workflow + run: | + curl -X POST \ + -H "Accept: application/vnd.github.v3+json" \ + -H "Authorization: token ${{ secrets.STAKATER_AB_TOKEN_FOR_RLDR }}" \ + https://api.github.com/repos/stakater-ab/reloader-enterprise/dispatches \ + -d '{"event_type":"trigger-event"}'