mirror of
https://github.com/capistrano/capistrano
synced 2023-03-27 23:21:18 -04:00
Include :deploy namespace in block example
Small tweak to the documentation on before/after hooks.
This commit is contained in:
parent
f79a386aad
commit
3a96e88367
1 changed files with 7 additions and 5 deletions
|
@ -13,12 +13,14 @@ after :finishing, :notify
|
|||
|
||||
|
||||
# or define in block
|
||||
before :starting, :ensure_user do
|
||||
#
|
||||
end
|
||||
namespace :deploy do
|
||||
before :starting, :ensure_user do
|
||||
#
|
||||
end
|
||||
|
||||
after :finishing, :notify do
|
||||
#
|
||||
after :finishing, :notify do
|
||||
#
|
||||
end
|
||||
end
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue