Wire up Slack notification after successful deploy
This commit is contained in:
parent
089e305363
commit
0a9ebb6c32
1 changed files with 4 additions and 0 deletions
|
|
@ -11,3 +11,7 @@ echo "[deploy] Starting deployment of version $VERSION..."
|
|||
rsync -av --delete ./dist/ "$DEPLOY_USER@$DEPLOY_HOST:$DEPLOY_PATH/"
|
||||
ssh "$DEPLOY_USER@$DEPLOY_HOST" "systemctl restart nexus-app"
|
||||
echo "[deploy] Done."
|
||||
|
||||
# Post-deploy notification
|
||||
source "$(dirname "$0")/../lib/notify.sh"
|
||||
notify "Deployment of $VERSION to prod completed successfully" "#deployments"
|
||||
|
|
|
|||
Loading…
Reference in a new issue