Sha256: 84e655e1268e38d6d421a817b5bcaf4236d9b9ea3f69253260fe38795e098ad6
Contents?: true
Size: 599 Bytes
Versions: 8
Compression:
Stored size: 599 Bytes
Contents
require_relative "../base" module Suspenders module Production class DeploymentGenerator < Generators::Base def copy_script copy_file "bin_deploy", "bin/deploy" chmod "bin/deploy", 0o755 end def inform_user instructions = <<~MARKDOWN ## Deploying If you have previously run the `./bin/setup` script, you can deploy to staging and production with: % ./bin/deploy staging % ./bin/deploy production MARKDOWN append_file "README.md", instructions end end end end
Version data entries
8 entries across 8 versions & 2 rubygems