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
$ terminus site:update companysite-33.dev
$ terminus site:update companysite-33.dev --skip_backups
$ terminus site:update companysite-33.dev --git
$ terminus site:update companysite-33.dev --git --repo="git://github.com/pantheon-systems/drops-7.git"
$ terminus site:update companysite-33.dev --git --repo="git://github.com/pantheon-systems/drops-7.git" --branch="dev"
$ terminus site:update companysite-33.dev --git --branch="dev"
For help installing, see Manage Plugins
mkdir -p ~/.terminus/plugins
composer create-project -d ~/.terminus/plugins terminus-plugin-project/terminus-upstream-deployment-plugin:~1
Run terminus list site:update
for a complete list of available commands. Use terminus help <command>
to get help on one command.