Skip to content

Instantly share code, notes, and snippets.

@thattommyhall
Created April 1, 2011 11:31
Show Gist options
  • Select an option

  • Save thattommyhall/898020 to your computer and use it in GitHub Desktop.

Select an option

Save thattommyhall/898020 to your computer and use it in GitHub Desktop.
Why do the tasks in deploy get executed before the before stuff?
Tom-Halls-MacBook-Pro:hen-night-hq-facebook-app tomh$ cap deploy
METHOD IN DEPLOY
* executing `task_in_deploy'
TASK IN DEPLOY
* executing `deploy'
triggering before callbacks for `deploy'
* executing `do_before'
BEFORE
* executing `deploy:update'
** transaction: start
* executing `deploy:update_code'
updating the cached checkout on all servers
*******LOADS OF CAP STUFF***********
command finished
triggering after callbacks for `deploy'
* executing `forward:notify'
[FWD TECH] Notification Delivered as 'thattommyhall'.
* executing `do_after'
AFTER
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment