add support for deploying specific branch or commit
This commit is contained in:
@@ -6,3 +6,4 @@ set :scm, :git
|
||||
set :deploy_to, "/var/www/danbooru2"
|
||||
set :rbenv_ruby, "2.3.1"
|
||||
set :linked_dirs, fetch(:linked_dirs, []).push('log', 'tmp/pids', 'tmp/cache', 'tmp/sockets', 'vendor/bundle')
|
||||
set :branch, ENV.fetch("branch", "master")
|
||||
Reference in New Issue
Block a user