As a developer, I’m a big fan of GitHub. And use it to deploy WordPressWordPress WordPress ( is a content management system (CMS) based on PHP and MySQL that is usually used with the MySQL or MariaDB database servers but can also use the SQLite database engine. plugin though Tortoise SVN. But, IMO It is very easy to use as compared with SVN.

In this article, I’m going to share you how can we release the WordPress plugin on

Table of Content

Introduction Introduction

Recently GitHub added Github Actions the automated workflow for the GitHub repository. Github Actions makes it easy to automate all your software workflows, now with world-class CI/CD.

Build, test, and deploy your code right from GitHub. Make code reviews, branch management, and issue triaging work the way you want.

Most interesting this is that it is Free for 2,000 minutes per month.

In this article, I’m using Github actions to release the WordPress plugin from the Github to

10up Action WordPress Plugin Deploy 10up Action WordPress Plugin Deploy

10up is well-known brand build an action to release or deploy WordPress plugin on It is Action WordPress Plugin Deploy

So, Let’s start,

Configuration Configuration

Required secrets Required secrets


To set the SVN_USERNAME and SVN_PASSWORD follow below simple steps:

  • Goto Settings tab from your Github repository
  • Click on Secrets menu from the left sidebar
  • Click on Add a Secret link
  • Add the name as SVN_USERNAME and value as your own username.
  • Add the name as SVN_PASSWORD and value as your own password.

See below screenshot for reference:

For more details see virtual environments for github actions.

Setup Baseline Files Setup Baseline Files

  • Create the file .distignore in the root of your plugin directory.
  • Add below content in it.

See below screenshot for reference.

Setup Workflow File Setup Workflow File

  • Create a directory .github in the root of the plugin.
  • Create another workflows into .github
  • Create file push-to-deploy.yml
  • Add below content in it.

See below screenshot for reference.

Congratulations! Our setup is complete.

Now, When we create a tag from the master branch then our Github action trigger and it auto deploy our Github plugin to

Conclusion Conclusion

To set up the Github action is very easy. We have used Plugin Deploy github action developed by 10up to deploy our plugin. Also, we have seen how to set up the .distignore and push-to-deploy.yml files.

Leave a Reply

Your email address will not be published. Required fields are marked *