Statichost deployment configuration for Perron

rails app:template LOCATION='https://perron.railsdesigner.com/library/statichost/template.rb'

This snippet adds a configuration file for Statichost deployments. The statichost.yml file defines how your site should be built and deployed on Statichost. It specifies the Ruby container image, a custom build command, and sets the output directory.

Template source

create_file "statichost.yml", <<~YAML
image: ruby:3.4
command: bin/rails perron:build
public: output
YAML