Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

is there any way to easily update a plugin installed on multiple sites from a github repo. I know I can do it from the command line of each server using git pull. but is there a way to do it from the wordpress admin similar to how plugins are updated?

share|improve this question
    
i imagine you could do this with the github api. maybe have a look at this plugin, which uses the api to grab some data from github. –  Milo Jun 10 '11 at 18:55
    
thanks for the link. i'm just wondering if there is an easy way or an existing plugin. i'd rather not have to code it myself. –  dwenaus Jun 10 '11 at 20:44

5 Answers 5

up vote 6 down vote accepted

I wrote a PHP class that allows a plugin developer to incorporate updates from GitHub within their plugin. Here's a link for it -> https://github.com/jkudish/WordPress-GitHub-Plugin-Updater

share|improve this answer
    
Thanks, this is what I was looking for. –  dwenaus Jan 3 '12 at 9:25

Have a look at this , it's a github supported theme updater, would be very easy to make it plugin friendly I figure. http://wordpress.org/extend/plugins/theme-updater/

share|improve this answer
    
this looks pretty darn close. do you know if it works with plugins? –  dwenaus Jun 13 '11 at 15:29

I recently wrote up a post about deploying an entire WordPress site with a few custom plugins and theme to multiple servers using Capistrano. You could probably do the same for just the single plugin repo.

There's a bunch of good posts out there for the step-by-step details on getting Capistrano going for WordPress.

share|improve this answer
    
Capistrano looks pretty cool, but not really what I'm after. I'm looking for something that will work from the wp admin. +1 anyway :) –  dwenaus Jun 13 '11 at 15:28

Check out this plugin updater class for WordPress: https://github.com/jkudish/WordPress-GitHub-Plugin-Updater

share|improve this answer

The solution I eventually found was to use a deployment service such as http://deployhq.com and http://deploy.phpfog.com. The nice thing about these services is that you can easily rollback to any commit

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.