fix deploy file
This commit is contained in:
parent
24b0273643
commit
74a2d01f8e
|
@ -1,7 +1,6 @@
|
||||||
set :stages, %w(en zh)
|
set :stages, %w(en zh)
|
||||||
set :default_stage, 'zh'
|
set :default_stage, 'zh'
|
||||||
|
|
||||||
require 'mina/multistage'
|
|
||||||
require 'mina/bundler'
|
require 'mina/bundler'
|
||||||
require 'mina/rails'
|
require 'mina/rails'
|
||||||
require 'mina/git'
|
require 'mina/git'
|
||||||
|
@ -9,6 +8,7 @@ require 'mina/rvm'
|
||||||
require 'mina/puma'
|
require 'mina/puma'
|
||||||
require "mina_sidekiq/tasks"
|
require "mina_sidekiq/tasks"
|
||||||
require 'mina/logs'
|
require 'mina/logs'
|
||||||
|
require 'mina/multistage'
|
||||||
|
|
||||||
set :shared_dirs, fetch(:shared_dirs, []).push('log', 'public/uploads', 'public/personal')
|
set :shared_dirs, fetch(:shared_dirs, []).push('log', 'public/uploads', 'public/personal')
|
||||||
set :shared_files, fetch(:shared_files, []).push('config/database.yml', 'config/application.yml')
|
set :shared_files, fetch(:shared_files, []).push('config/database.yml', 'config/application.yml')
|
||||||
|
|
Loading…
Reference in New Issue