Move deploy commands to run block