Run training after deploy only once