Sha256: d5bd56693859009c06702b151fa55a82098f926df395d5ea4d7aa60b32975dc6
Contents?: true
Size: 505 Bytes
Versions: 1
Compression:
Stored size: 505 Bytes
Contents
# frozen_string_literal: true # Capistrano plugin hook to set default values namespace :load do task :defaults do set :shared_configs_use_hooks, fetch(:shared_configs_use_hooks, true) end end # Integrate hooks into Capistrano namespace :deploy do before :starting, :add_shared_configs_hooks do invoke 'shared_configs:add_hooks' if fetch(:shared_configs_use_hooks) end end namespace :shared_configs do task :add_hooks do before 'deploy:updating', 'shared_configs:update' end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
dlss-capistrano-docker-1.0.0 | lib/dlss/docker/capistrano/tasks/shared_configs.rake |