Back to results for “Sync Waves & Hooks”
ArgoCD › Sync Waves & Hooks

How do you notify an external system after a successful deployment using hooks?

Intermediate

Answer

Add a PostSync hook Job that calls the external system (webhook, deployment tracker, ChatOps). Because it runs only after resources are Healthy, it reliably signals a completed deployment. Alternatively, use the Notifications controller for event-driven alerts without a hook.
metadata:
  annotations:
    argocd.argoproj.io/hook: PostSync
Real-world example A PostSync hook posts a 'deployed' event to the release dashboard once the app is healthy.

Common follow-ups: Hook vs Notifications controller for alerts? | Why PostSync for deployment notifications?