I'd recommend putting a 16 penny nail or a deck screw between the boards to space them for expansion. If you are worried about dirt coming through that space, you could put landscaping fabric on the hill-side of the wall.

Talk Doctor Online in Bissoy App