Array along Curve

How do I array a brick along a vault such that the brick tangentially rotates along the curve

Use this component: