add support for deploying specific branch or commit

This commit is contained in:
r888888888
2017-04-22 01:16:47 -07:00
parent ecf00260c3
commit 76eefd0ffe

View File

@@ -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")