davereid/drush-acquia-hook-invoke
Composer 安装命令:
composer require davereid/drush-acquia-hook-invoke
包简介
Drush command designed to let you test execution of Acquia Cloud hooks on your local Drupal installation
README 文档
README
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.).
Requirements
- 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.
Usage
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.
统计信息
- 总下载量: 7.14k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 2
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2015-05-11