I don't quite remember, probably set the pivot of the object to the bottom center of the face that points in the direction you want to move then rotate 90 degrees.
Thanks!