cannot create deploy task when current task is deploy