12

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?

2
  • 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
11

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

0
4

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

2

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.

1
  • 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
1

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

0

I used this plugin

https://wppusher.com/

It works fine,

Supports github, gitlab, bitbucket

Free for public repositories

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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