Parklife is a Ruby library to render a Rack app (Rails/Sinatra/etc) to a static build ready to be served by GitHub Pages, Netlify, S3, Vercel, or any other server.
...
gem "parklife"
...
bundle
bundle exec parklife init --rails --github-pages
Commit all changes first.
Create a public GitHub repository and push the local commits. With GitHub CLI installed:
gh repo create rails-static --public --source=. --remote=origin --push
The GitHub action will fail:
The repository needs to be configured to build and deploy Pages from Actions:
And the GitHub Action triggered to re-run:
Commit: Parklife