@unanim/notify-deploy
v1.0.2
Published
A package to notify the deployment to slack
Downloads
7
Readme
@unanim/helpers
A package to notify a deployment via Slack
Installation
yarn add @unanim/notify-deploy
Usage
Add a script tp your project's package.json scripts section:
{
"scripts": {
...
"notify:deploy": "notify-deploy",
...
}
}
Make sure you have these env variables in your environments:
DEPLOYMENT_NOTIFICATION_PROJECT_UID= # uid of the project in the admin
DEPLOYMENT_NOTIFICATION_SLACK_WEBHOOK_URL= # slack webhook
Jelastic Post Deploy
cd $WEBROOT/ROOT
# DO WHAT YOU NEED TO DO ON DEPLOY
yarn install #etc...
# ADD THIS LINE 👇
yarn notify:deploy
# BOOM, You are done
© Made with love and lots of coffee by Unanim.studio