Send correct deployment yml to create deployment api.