mirror of
https://github.com/capistrano/capistrano
synced 2023-03-27 23:21:18 -04:00
12 lines
232 B
Ruby
12 lines
232 B
Ruby
|
namespace :deploy do
|
||
|
namespace :check do
|
||
|
task :linked_files => 'config/database.yml'
|
||
|
end
|
||
|
end
|
||
|
|
||
|
remote_file 'config/database.yml' => '/tmp/database.yml', roles: :all
|
||
|
|
||
|
file '/tmp/database.yml' do |t|
|
||
|
sh "touch #{t.name}"
|
||
|
end
|