Drush command designed to let you test execution of Acquia Cloud hooks on your local Drupal installation
This package is auto-updated.
Last update: 2021-10-20 02:02:06 UTC
This is a Drush command designed to let you test execution of Acquia Cloud hooks on your local Drupal installation (for development or debugging, etc.).
- Must be run from a Drupal installation that is inside a Git repository.
- There must be a directory called
hooksin the root Git repository.
- Ideally you run this using a Drush alias like
@sitename.localthat mirrors the syntax of the Acquia site aliases.
Ideally you run this using a Drush alias like
@sitename.local that mirrors the syntax of the Acquia site aliases.
$ drush @mysite.local ac-hook-invoke post-code-deploy --source-branch=master --deployed-tag=test-tag
For more help about the available options, see
drush help ac-hook-invoke:
Invoke an Acquia cloud hook on the current local environment. Examples: drush @mysite.local ac-hook-invoke Run the post-code-deploy hook scripts. post-code-deploy --source-branch=master --deployed-tag="test-tag" Arguments: hook The hook to invoke. For example, post-code-deploy Options: --ac-env The environment to which code was just deployed. --ac-site The site name. This is the same as the Acquia Cloud username for the site. --deployed-tag The code branch or tag being deployed. --repo-type The version control system your site is using; "git" or "svn". --repo-url The URL of your code repository. --source-branch The code branch or tag being deployed.