Skip to content

Commit

Permalink
Update publish-package.yml (#193)
Browse files Browse the repository at this point in the history
* Update publish-package.yaml

* Update publish-package.yaml

* Update publish-package.yaml

* reusable slack workflow implemented
  • Loading branch information
cenevan authored Jun 6, 2024
1 parent 1a7d208 commit ddfa155
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/publish-package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -126,3 +126,15 @@ jobs:
uses: storyprotocol/gha-workflows/.github/workflows/reusable-create-release.yml@main
with:
version_to_publish: ${{ needs.print_version_to_publish.outputs.version_to_be_published }}

send_slack_notif:
needs: [build-test-publish, create_release]
uses: storyprotocol/gha-workflows/.github/workflows/reusable-slack-notifs.yml@main
with:
short-desc: '${{ github.repository }}: Package has been published to NPM Registry, version: ${{ needs.print_version_to_publish.outputs.version_to_be_published }}'
title: 'Published to Registry'
img-url: 'https://imgur.com/a/6P1xFvE'
img-alt-text: 'Published to Registry'
secrets:
channel-name: ${{ secrets.SLACK_CHANNEL_ID_STORY_57BLOCKS }}
slack-bot-token: ${{ secrets.SLACK_BOT_TOKEN }}

0 comments on commit ddfa155

Please sign in to comment.