convert app::deploy to definition