aboutsummaryrefslogtreecommitdiffstats
path: root/config/deploy.rb.example
diff options
context:
space:
mode:
Diffstat (limited to 'config/deploy.rb.example')
-rw-r--r--config/deploy.rb.example26
1 files changed, 1 insertions, 25 deletions
diff --git a/config/deploy.rb.example b/config/deploy.rb.example
index 51362d5..4f04d26 100644
--- a/config/deploy.rb.example
+++ b/config/deploy.rb.example
@@ -1,4 +1,4 @@
-lock '3.2.1'
+lock '3.3.4'
# change this to your application name
set :application, 'hmno'
@@ -8,27 +8,3 @@ set :repo_url, 'git@github.com:snake66/project-limestone.git'
set :linked_files, %w{config/initializers/refinery/core.rb config/initializers/secret_token.rb config/piwik.yml}
set :linked_dirs, %w{log tmp/pids tmp/cache tmp/sockets vendor/bundle public/system}
-
-namespace :deploy do
-
- desc 'Restart application'
- task :restart do
- on roles(:app), in: :sequence, wait: 5 do
- # Touching this file forces the server to reload
- # the application
- execute :touch, release_path.join('tmp/restart.txt')
- end
- end
-
- after :publishing, :restart
-
- after :restart, :clear_cache do
- on roles(:web), in: :groups, limit: 3, wait: 10 do
- # Here we can do anything such as:
- # within release_path do
- # execute :rake, 'cache:clear'
- # end
- end
- end
-
-end