Wire up Slack notification after successful deploy

This commit is contained in:
Stefan Weber 2026-02-20 10:35:00 +00:00
parent 089e305363
commit 0a9ebb6c32

View file

@ -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"