It was announced that a storm is approaching.

Literal

Storm [subject-が] approaching-is [quotative-と] was-announced.

と is the quotative particle — it marks the preceding clause as the content of the announcement, thought, or speech. 発表された is the passive of 発表する ('to announce / make public'). This is the standard news-register way to report official announcements.