Use latestDeploymentStatus instead of app status to determine if a deployment is in progress. The deployment status is more reliable during state transitions and prevents the button from flickering.
Use latestDeploymentStatus instead of app status to determine if a deployment is in progress. The deployment status is more reliable during state transitions and prevents the button from flickering.