before deploy attempt