Add deploy tasks and restore devise key