evolution / wordpress

Rapidly create, develop, & deploy WordPress across multiple environments.
MIT License
200 stars 18 forks source link

Skip plugins/themes in WP auto-updater #161

Closed EvanK closed 7 years ago

EvanK commented 7 years ago

For automatic updates, this gives us two overrides in the group_vars file...so if we don't want our themes to be updated daily, we'd uncomment and set the override like so:

# wordpress__autoupdate_skip_plugins: false
wordpress__autoupdate_skip_themes: true

Note: this will require re-provisioning the target server, in order to (1) have the latest updater script and (2) update the cron job.

We can also leverage this from our capistrano update task...so to update wp core, cli, and plugins but not themes:

bundle exec cap staging evolve:update[themes]

Closes #160