Skip to content

Commit

Permalink
Merge pull request #43 from os2ulf/devops/add-deploy-trigger
Browse files Browse the repository at this point in the history
Add deploy trigger
  • Loading branch information
madsnorgaard authored Jun 10, 2024
2 parents 6c76abd + 5c363d7 commit 74a0e23
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/trigger-umbrella.yml
Original file line number Diff line number Diff line change
@@ -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 }}

0 comments on commit 74a0e23

Please sign in to comment.