Deputy Brandon Shirley was sitting in his personal vehicle when a shooter walked up, police said