From f770a983c4e823d96cd3c708c3dcfeccba60d8a0 Mon Sep 17 00:00:00 2001 From: Svetla Syrimis Date: Thu, 10 Oct 2024 12:36:03 -0400 Subject: [PATCH] changing webhook url --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5ebb16fa..6fab9419 100644 --- a/Makefile +++ b/Makefile @@ -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