Skip to content

Commit

Permalink
gh workflow run update-badge
Browse files Browse the repository at this point in the history
  • Loading branch information
kwblackstone committed May 3, 2024
1 parent 5790188 commit 2011fd8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -204,9 +204,7 @@ jobs:
COLOR=$color
fi
echo "Updating badge for $os_version"
curl -X POST -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
-d '{"event_type": "update-badge", "client_payload": {"NAME": "usd-build-'$os_version'", "LABEL": "'$os_version'", "STATUS": "'$STATUS'", "COLOR": "'$COLOR'"}}' \
"https://api.github.com/repos/${{ github.repository }}/dispatches"
gh workflow run update-badge.yml -f NAME="usd-build-$os_version" -f LABEL="$os_version" -f STATUS="$STATUS" -f COLOR="$COLOR"
done
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
File renamed without changes.

0 comments on commit 2011fd8

Please sign in to comment.