Six tribes went up to the top of Mount Gerizim and six to Mount Ebal, and the priests and the Levites and the Ark were below in the middle: the priests surrounded the Ark, the Levites surrounded the priests, and all Israel were standing on this side and on that side, as it is said, "And all Israel and its elders... stood on this side and on that side" (Joshua 8:33). They turned their faces toward Mount Gerizim and opened with the blessing, "Blessed is the man who does not make a carved image" (compare Deuteronomy 27:15), and these and those answered Amen. They turned their faces toward Mount Ebal and opened with the curse and said, "Cursed is the man who makes a carved image" (Deuteronomy 27:15), and these and those answered Amen. So they continued until they finished the blessings and the curses. And afterward they brought the stones and built the altar and plastered them with lime and wrote upon it the Torah in seventy languages, and offered burnt offerings and peace offerings, and ate and drank, and went to their place and lodged.
Six Tribes on Gerizim and Six on Ebal Answering Amen
Yalkut Shimoni on Nach 14:4
ששה שבטים עלו על ראש הר גריזים וששה על הר עיבל והכהנים והלוים והארון למטה באמצע הכהנים מקיפין את הארון והלוים מקיפין את הכהנים וכל ישראל מזה ומזה עומדים שנאמר וכל ישראל וזקניו מזה ומזה עומדים. הסבו פניהם כלפי הר גריזים ופתחו בברכה ברוך האיש אשר לא יעשה פסל וגו' ואלו ואלו עונים אמן. הפכו פניהם כלפי הר עיבל ופתחו בקללה ואמרו ארור האיש אשר יעשה פסל וגו' ואלו ואלו עונים אמן, עד שגמרו ברכות וקללות ואח"כ הביאו את האבנים ובנו את המזבח וסדו אותם בסיד וכתבו עליו את התורה בשבעים לשון והעלו עולות ושלמים ואכלו ושתו והלכו למקומם ולנו: