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
2016-03-10 08:01:53 -06:00

8 lines
188 B
Ruby

set :fail, proc { raise }
before "deploy:starting", :fail do
on roles :all do
execute :mkdir, "-p", shared_path
execute :touch, shared_path.join("fail")
end
fetch(:fail)
end