Walking up stairs

i am beginner in unity , I use a simple house with a set of stairs as shown is the image below .106261-1.pngWhen I move the character controller to the steps,the character jump away… How can i make the character without jumping out and detect this collision …
I want it to climb up the stairs…how can i fix the problem?

You could put a box collider on the stairs. What I mean is instead of having a collider conform to each step just have a ‘ramp’ style collider so the player can just walk straight up and down it with no problems