Wrote a Mix task that turns any Phoenix Site into a static site
https://github.com/lubien/single-file-phoenix-static/blob/main/lib/mix/tasks/generate_static.ex
Copy and past under lib/mix/tasks/generate_static.ex
Read next Just released part (9/?) of my guide to LiveView for beginners.