mirror of
https://github.com/capistrano/capistrano
synced 2023-03-27 23:21:18 -04:00
8 lines
149 B
Ruby
8 lines
149 B
Ruby
![]() |
set :fail, proc { fail }
|
||
|
before 'deploy:starting', :fail do
|
||
|
on roles :all do
|
||
|
execute :touch, shared_path.join('fail')
|
||
|
end
|
||
|
fetch(:fail)
|
||
|
end
|