handle deploy key