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.