From 74a2d01f8eef7e13340c6134e81440ca84a7d75a Mon Sep 17 00:00:00 2001 From: yafeilee Date: Sat, 13 May 2017 09:59:29 +0800 Subject: [PATCH] fix deploy file --- config/deploy.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/deploy.rb b/config/deploy.rb index c5d7c58..bdb2631 100644 --- a/config/deploy.rb +++ b/config/deploy.rb @@ -1,7 +1,6 @@ set :stages, %w(en zh) set :default_stage, 'zh' -require 'mina/multistage' require 'mina/bundler' require 'mina/rails' require 'mina/git' @@ -9,6 +8,7 @@ require 'mina/rvm' require 'mina/puma' require "mina_sidekiq/tasks" require 'mina/logs' +require 'mina/multistage' 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')