From ab8b7102fb94e00dc5fd10492314cd41e40963eb Mon Sep 17 00:00:00 2001 From: Petko Bordjukov Date: Sun, 5 May 2019 14:47:53 +0300 Subject: [PATCH] Add public/.well-known to liked dirs --- config/deploy.rb | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/config/deploy.rb b/config/deploy.rb index 346bf01..f4c546e 100644 --- a/config/deploy.rb +++ b/config/deploy.rb @@ -26,13 +26,18 @@ set :deploy_to, "/home/barf/clarion" set :linked_files, fetch(:linked_files, []).push("config/database.yml", "config/secrets.yml") # Default value for linked_dirs is [] -set :linked_dirs, fetch(:linked_dirs, []).push("log", "tmp/uploads", "tmp/pids", "tmp/cache", "tmp/sockets", "vendor/bundle", "public/system", "public/uploads") + +set :linked_dirs, fetch(:linked_dirs, []).push("log", "tmp/uploads", "tmp/pids", + "tmp/cache", "tmp/sockets", + "vendor/bundle", "public/system", + "public/uploads", + "public/.well_known") # Default value for default_env is {} # set :default_env, { path: "/opt/ruby/bin:$PATH" } # Default value for keep_releases is 5 -set :keep_releases, 10 +set :keep_releases, 5 set :rvm_ruby_version, "2.6.3"