Sha256: 0981fb6d2c216d5b7dda9e79558357fbf6e95be673f9ffaf6630d067636ba021
Contents?: true
Size: 598 Bytes
Versions: 4
Compression:
Stored size: 598 Bytes
Contents
require_relative "../base" module Bulldozer 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
4 entries across 4 versions & 1 rubygems