Skip to content

Commit

Permalink
Merge pull request #1072 from kaltura/workflow-trigger-poc
Browse files Browse the repository at this point in the history
adjust curl
  • Loading branch information
tomerelyasim authored Aug 1, 2024
2 parents ba0a450 + a714632 commit 9f2de36
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/uiconf-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ jobs:
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\"}}"
curl -L \
-X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
https://api.github.com/repos/kaltura/ovp-statboy/actions/workflows/deploy-uiconf.yaml/dispatches \
-d '{"ref":"master","inputs":{"env":"testenv"}}'

0 comments on commit 9f2de36

Please sign in to comment.