Advertisement
Guest User

deploy.rb

a guest
Sep 25th, 2017
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 1.20 KB | None | 0 0
  1. # config valid only for current version of Capistrano
  2. # lock "3.9.1"
  3.  
  4. set :application, "APPNAME"
  5. set :repo_url, "git@github.com:USERNAME/APPNAME.git"
  6.  
  7. # Default branch is :master
  8. # ask :branch, `git rev-parse --abbrev-ref HEAD`.chomp
  9.  
  10. # Default deploy_to directory is /var/www/my_app_name
  11. # set :deploy_to, "/var/www/my_app_name"
  12.  
  13. # Default value for :format is :airbrussh.
  14. # set :format, :airbrussh
  15.  
  16. # You can configure the Airbrussh format using :format_options.
  17. # These are the defaults.
  18. # set :format_options, command_output: true, log_file: "log/capistrano.log", color: :auto, truncate: :auto
  19.  
  20. # Default value for :pty is false
  21. # set :pty, true
  22.  
  23. # Default value for :linked_files is []
  24. append :linked_files, "config/application.yml"
  25.  
  26. # Default value for linked_dirs is []
  27. append :linked_dirs, "log", "tmp/pids", "tmp/cache", "tmp/sockets", "vendor/bundle", "public/system", "public/uploads"
  28.  
  29. # Default value for default_env is {}
  30. # set :default_env, { path: "/opt/ruby/bin:$PATH" }
  31.  
  32. # Default value for local_user is ENV['USER']
  33. # set :local_user, -> { `git config user.name`.chomp }
  34.  
  35. # Default value for keep_releases is 5
  36. # set :keep_releases, 5
  37.  
  38. set :rvm_ruby_version, "2.4.1"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement