Skip to content

Commit

Permalink
build(workflow): dispatch event for new version for widget
Browse files Browse the repository at this point in the history
  • Loading branch information
maloun96 authored and lalli-flores committed May 17, 2021
1 parent 8f9da39 commit 0ee4a71
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/dispatch-new-version-event.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,9 @@ jobs:
-H 'Accept: application/vnd.github.everest-preview+json' \
-u ${{ secrets.ACCESS_TOKEN }} \
--data '{"event_type": "component-adapter-interfaces:version-changed", "client_payload": { "version": "'"${CURRENT_VERSION}"'"}'
curl -X POST https://api.github.com/repos/webex/widgets/dispatches \
-H 'Accept: application/vnd.github.everest-preview+json' \
-u ${{ secrets.ACCESS_TOKEN }} \
--data '{"event_type": "component-adapter-interfaces:version-changed", "client_payload": { "version": "'"${CURRENT_VERSION}"'"}'
fi

0 comments on commit 0ee4a71

Please sign in to comment.