diff --git a/scripts/deploy.sh b/scripts/deploy.sh index b2544ec..4e3c8ba 100755 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh @@ -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"