Send calender event from form to public google / ical calendar

Hi All
Not sure how to go about doing this, I want to create an event in a form and post it to a public google calendar or ical calendar.
I’ve looked about but are getting very confused.

Anyone know any simple guides or instructions on how to do this