Skip to content

Commit

Permalink
Merge pull request #1071 from kaltura/workflow-trigger-poc
Browse files Browse the repository at this point in the history
testing trigger with curl
  • Loading branch information
tomerelyasim authored Aug 1, 2024
2 parents 6a7082d + 7e64dc2 commit ba0a450
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
20 changes: 20 additions & 0 deletions .github/workflows/uiconf-deployment.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Trigger Private Repository Workflow

on:
# release:
# types: [created]
workflow_dispatch:

jobs:
trigger-workflow:
runs-on: ubuntu-latest
steps:
- name: Trigger workflow in private repository
env:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
run: |
curl -X POST \
-H "Accept: application/vnd.github.v3+json" \
-H "Authorization: token $ACCESS_TOKEN" \
https://api.github.com/repos/kaltura/ovp-statboy/actions/workflows/deploy-uicof.yaml/dispatches \
-d "{\"ref\":\"master\", \"inputs\":{\"env\":\"testenv\"}}"
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[![Gitter chat](https://badges.gitter.im/kaltura-ng/kmc-ng.png)](https://gitter.im/kaltura-ng/kmc-ng)


> Kaltura Management Console HTML5 based application (a.k.a KMCng). Replaces the legacy [KMC flash based application](https://kmc.kaltura.com/index.php/kmc/kmc).
> Kaltura Management Console HTML5 based application (a.k.a KMCng). Replaces the legacy [KMC flash based application](https://kmc.kaltura.com/index.php/kmc/kmc).
Thank you for your interest in the kmc-ng project.

Expand Down

0 comments on commit ba0a450

Please sign in to comment.