File: database.rake

package info (click to toggle)
capistrano 3.19.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 804 kB
  • sloc: ruby: 5,351; makefile: 5
file content (11 lines) | stat: -rw-r--r-- 232 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
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