Skip to content

Commit

Permalink
ci(release): dispatch custom event to trigger notifications (#13837)
Browse files Browse the repository at this point in the history
* ci(release): dispatch custom event to trigger notifications

* Update .github/workflows/ci.yml

Co-authored-by: Rik Smale <13023439+WikiRik@users.noreply.github.com>

Co-authored-by: Rik Smale <13023439+WikiRik@users.noreply.github.com>
  • Loading branch information
sdepold and WikiRik committed Dec 28, 2021
1 parent f3137c9 commit 115b95b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Expand Up @@ -273,3 +273,9 @@ jobs:
node-version: 16.x
- run: yarn install --frozen-lockfile
- run: npx semantic-release
- id: sequelize
uses: sdepold/github-action-get-latest-release@master
with:
repository: sequelize/sequelize
- run: |
curl -XPOST -u "sdepold:${{ secrets.GH_TOKEN }}" -H "Accept: application/vnd.github.v3+json" -H "Content-Type: application/json" https://api.github.com/repos/sequelize/sequelize/dispatches --data '{"event_type":"Release notifier","client_payload":{"release-id": ${{ steps.sequelize.outputs.id }}}}'

0 comments on commit 115b95b

Please sign in to comment.