"I've been to a lot of protests, I've organised a lot of protests, I love a good protest, but now is not the time for protests, particularly on the border.
"The border is our riskiest place right now. We have to see the situation in NSW the same way we've seen the situation in other countries throughout this pandemic," Miles told reporters.
"By having a protest there they have put the safety of our police at risk, they put their own safety at risk and they put the safety of the community at risk.
"Frankly I'm pretty disgusted."
In the "freedom rallies" held in cities across Australia yesterday, demonstrators marched largely maskless, clashing with police, in anti-lockdown protests.
In Melbourne, there were reports officers were pelted with rocks and bottles, while protesters were filmed screaming "shame on you, shame on the lot of you" at cops attempting to control the crowd.
Police officers were seen pepper spraying and tackling demonstrators. Police horses were startled as a line of protesters ran with their arms linked towards the police to breach the barricade.
Flares were set off as the crowd chanted "freedom".
Nine members of Victoria Police were sent to hospital after the protests in Melbourne, Chief Commissioner Shane Patton said this morning.
One of those officers potentially needs surgery for a leg injury, while several others may have broken noses.
More than 250 people were arrested and more than A$1 million in fines were handed out.
Chief Commissioner Patton said the protests were not "about freedom" but "criminal activity".
Meanwhile NSW has recorded another horror day today with 830 new local Covid-19 infections; and Victoria reported 65 new cases.