Method: Underlay::AppBuilder#create_deploy_script
- Defined in:
- lib/underlay/app_builder.rb
#create_deploy_script ⇒ Object
379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 |
# File 'lib/underlay/app_builder.rb', line 379 def create_deploy_script copy_file 'bin_deploy', 'bin/deploy' 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 run 'chmod a+x bin/deploy' end |