Statichost deployment configuration for Perron
to run in your site's root directory
View template source
create_file "statichost.yml", <<~YAML image: ruby:3.4 command: bundle install && RAILS_ENV=production bin/rails perron:build public: output YAML
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.