From 5c363d7d85cdcb8dee5fd896c18c40e2666dc9cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mads=20N=C3=B8rgaard?= Date: Mon, 10 Jun 2024 19:28:15 +0200 Subject: [PATCH] Add deploy trigger --- .github/workflows/trigger-umbrella.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/trigger-umbrella.yml diff --git a/.github/workflows/trigger-umbrella.yml b/.github/workflows/trigger-umbrella.yml new file mode 100644 index 0000000..52c578b --- /dev/null +++ b/.github/workflows/trigger-umbrella.yml @@ -0,0 +1,20 @@ +name: Trigger Umbrella Workflow + +on: + push: + branches: + - 'main' + - 'release/**' + +jobs: + trigger: + runs-on: ubuntu-latest + steps: + - name: Trigger Umbrella Repository Workflow + run: | + curl -X POST -H "Accept: application/vnd.github.v3+json" \ + -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \ + https://api.github.com/repos/os2ulf/os2udoglaer-platform/dispatches \ + -d '{"event_type":"trigger-umbrella-workflow"}' + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file