30 people have died in the past day in New South Wales as more than 20 thousand new infections were recorded in the state.