before deploy