Make deploy key addition generic