I managed to deploy it with Workers instead of Pages. But not sure if this is the way to go and what other causes it has.