Skip to content

Commit

Permalink
changing webhook url
Browse files Browse the repository at this point in the history
  • Loading branch information
bearcubsvet committed Oct 10, 2024
1 parent 6ba85b7 commit f770a98
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ publish: | distclean node_modules
@yarn config set version-tag-prefix "" && yarn config set version-git-message "Version %s"
@NPM_TOKEN=$${NPM_TOKEN} yarn publish --access restricted --non-interactive
@git push && git push --tags
@curl -X POST -H 'Content-type: application/json' --data '{"channel": "#npm-events","blocks":[{"type": "section","text": {"type": "mrkdwn","text": "*New Deployment!*"}},{"type": "section","fields": [{"type": "mrkdwn","text": "*Package Name:*\n$(PACKAGE_NAME)"},{"type": "mrkdwn","text": "*Version:*\n$(PACKAGE_VERSION)"}]},{"type": "divider"},{"type": "section","text": {"type": "mrkdwn","text": "Published on: $(PUBLISH_DATE)"}}]}' $(SLACK_WEBHOOK_URL)
@curl -X POST -H 'Content-type: application/json' --data '{ "channel": "#npm-notifications","username": "npm bot", "icon_url": "https://static-00.iconduck.com/assets.00/megaphone-emoji-512x390-7a60feky.png","text": "#### New Deployment!\n\n**Package Name:** $(PACKAGE_NAME) \n**Version:** $(PACKAGE_VERSION) **Published on**: $(PUBLISH_DATE)" }' $(WEBHOOK_URL)


.PHONY: docs
docs: build/docs
Expand Down

0 comments on commit f770a98

Please sign in to comment.