terminus-plugin-project/terminus-upstream-deployment-plugin
Composer 安装命令:
composer require terminus-plugin-project/terminus-upstream-deployment-plugin
包简介
Upstream Deployment - A Terminus plugin to automate the process of updating a site through the upstream.
README 文档
README
Terminus plugin to automate the process of updating a site through the upstream. This performs a backup before applying upstream updates.
This plugin differs from terminus-mass-update as this will only take a single site at a time along with the following features:
- take a backup of your dev environment
- pull any updates from the upstream and apply them on dev
- run updatedb on your dev environment
- run clear cache on your dev environment
- check to see if your test environment initialized
- take a backup of your test environment
- run updatedb on your test environment
- run clear cache on your test environment
- check to see if youur live environment is initialized
- take a backup of your live environment
- run updatedb on your test environment
- run clear cache on your live environment
Examples
Default Running
$ terminus site:update companysite-33.dev
Skip Backups
$ terminus site:update companysite-33.dev --skip_backups
Apply updates through git using the default upstream branch
$ terminus site:update companysite-33.dev --git
Perform updates using a separate repository
$ terminus site:update companysite-33.dev --git --repo="git://github.com/pantheon-systems/drops-7.git"
Perform updates using a separate repository and a separate branch
$ terminus site:update companysite-33.dev --git --repo="git://github.com/pantheon-systems/drops-7.git" --branch="dev"
Apply updates through git using a particular branch of the upstream
$ terminus site:update companysite-33.dev --git --branch="dev"
Installation
For help installing, see Manage Plugins
mkdir -p ~/.terminus/plugins
composer create-project -d ~/.terminus/plugins terminus-plugin-project/terminus-upstream-deployment-plugin:~1
Help
Run terminus list site:update for a complete list of available commands. Use terminus help <command> to get help on one command.
统计信息
- 总下载量: 46
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-03-29