1
0
Fork 0
mirror of https://github.com/capistrano/capistrano synced 2023-03-27 23:21:18 -04:00
capistrano/spec/support/tasks/fail.rake

9 lines
187 B
Ruby
Raw Normal View History

set :fail, proc { fail }
2016-02-28 18:16:11 -05:00
before "deploy:starting", :fail do
on roles :all do
2016-02-28 18:16:11 -05:00
execute :mkdir, "-p", shared_path
execute :touch, shared_path.join("fail")
end
fetch(:fail)
end