Deploy WordPress Plugins from GitHub to the WordPress.org Plugin Repository

10up has released a GitHub Action that enables developers to deploy to the WordPress.org Plugin repository by tagging a new version on GitHub. Helen Hou-Sandí, 10up’s Director of Open Source Initiatives, explained how it works:

You’ll be able to manage your entire development lifecycle in GitHub—no more futzing with local Bash scripts or controlling commit/push access in multiple places. You reference our action in your plugin repo’s workflow file, filtered to only run when a tag is pushed, and set your username/password secrets. After that, each time you tag a new version on GitHub, whether by pushing a Git tag from the command line or making one using the GitHub releases interface, your plugin will be deployed to WordPress.org.

Developers who want to use this Action will need to sign up for beta access to GitHub Actions in order to create their own Actions-enabled repo for pushing plugin releases to WordPress.org. Check out 10up’s release post and the README file for instructions on how to use and customize the WordPress.org Plugin Deploy action.

Reception from the WordPress development community has been enthusiastic, as anything that removes WordPress.org’s requirement to use SVN qualifies as a little piece of magic. 10up is working on more WordPress Actions that they plan to release soon.

Would you like to write for WP Tavern? We are always accepting guest posts from the community and are looking for new contributors. Get in touch with us and let's discuss your ideas.

7 Comments


  1. That’s the exact thing I was looking for 🙂
    Much appreciated Helen & the 10up team. It’s a very time saving & good approach to well managed your WordPress plugins.
    Thank you 🙂

    Report


    1. I’ve been using that too, it works really well. Also looking forward to trying this new method out too

      Report


  2. Nice, but like Ryan Hellyer mentioned, such a service has been around for a (long) while already. I’ve been using https://deployer.seravo.com/ for a very long time now and it’s been fantastic :)

    Report


  3. This is great. I also remember a post on DeliciousBrains that use Travis-CI to do the same job.

    Report

Comments are closed.