A St. Lucie County sheriff's deputy was fired after an alleged disparaging social media post in 2025, records show.