How was the Olympic Torch lit in Ancient Greece?

There was no torch. The Olympic torch was made up in 1936.

The Olympic torch was invented as a way of symbolically creating a connection between Olympia in Greece and an athletics meeting in some city like Berlin. The ancient Olympics didn't need a symbolic connection to Olympia because they were actually held at Olympia.