Skip to content

Commit

Permalink
add repo name to inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
tomerelyasim committed Aug 6, 2024
1 parent dc2a404 commit 93bf398
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/uiconf-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ jobs:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
APP_NAME: "kmc-ng"
TAG: ${{ github.ref_name }}
REPO_NAME: ${{ github.event.repository.name }}
run: |
echo ${{ github.event.repository.name }}
# 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\":\"workflow-uiconf-trigger\",\"inputs\":{\"env\":\"nvq2\",\"app_name\":\"$APP_NAME\",\"tag\":\"$TAG\"}}"
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\":\"workflow-uiconf-trigger\",\"inputs\":{\"app_name\":\"$APP_NAME\",\"tag\":\"$TAG\",\"repo_name\":\"$REPO_NAME\"}}"

0 comments on commit 93bf398

Please sign in to comment.