GitHub Deployments – WordPress.com Information


Simplify your growth workflow on WordPress.com with GitHub Deployments.

Say goodbye to the effort of guide file uploads and tedious deployments, and say whats up to WordPress.com’s new GitHub Deployments.

With GitHub Deployments, you possibly can seamlessly join your repository to your WordPress.com web site in just some clicks. Now you possibly can deal with what you do finest: writing excellent code. Every time you push a change to your GitHub repository, will probably be deployed to your WordPress.com web site mechanically or upon request. 

Take a look at this video overview from Paulo Trentin, one of many builders who labored on this characteristic:

Listed here are three the reason why we all know you’re going to like GitHub Deployments on WordPress.com:

1. A streamlined workflow

GitHub Deployments enable you handle your web site’s code in a dependable, predictable, and automatic means utilizing model management as a substitute of older or guide mechanisms, resembling FTP or SSH instruments. In its easiest kind, it doesn’t require a workflow file like our earlier GitHub integration, which relied on a GitHub motion; as a substitute, you possibly can join and deploy in just some clicks, all inside your WordPress.com dashboard.

This can be a welcome change for builders who wish to simplify their code deployment course of and migrate away from the guide operations and error-prone nature of SFTP and SSH transfers. 

GitHub Deployments additionally means that you can join a number of repositories to a single web site, encouraging code reusability between the websites you handle. Wish to deploy a plugin or theme to a number of websites with a single department push? Have at it! Wish to handle your complete web site’s code from a GitHub repository? We’ve received you lined!

2. Run checks and duties

GitHub Deployments additionally offers you the ability to course of recordsdata and run duties earlier than transferring the recordsdata to your WordPress.com web site by means of GitHub workflows. This helps be certain that all group members publish code following your chosen patterns and expectations, for instance. 

If that’s your factor, you possibly can set up Composer dependencies and run any command supported by GitHub actions previous to sending any code updates to your web site. Discover a couple of of our favourite workflow recipes right here.

WordPress.com's GitHub Deployments page for connecting repositories with fields for Repository, Deployment branch, Destination directory, and Automatic deployments. Advanced deployment mode is selected, showing a workflow.

Three cheers for unified, well-written code!

3. Deploy the way in which you need

You possibly can alter the deployment settings for every repository, providing you with full management over how your code is shipped.

You possibly can select to mechanically deploy modifications to your WordPress.com web site as quickly as code is dedicated to your repository, or you possibly can request deployments manually. Guide deployments provide the most management over when your code modifications are pushed dwell, as you’ll use the GitHub Deployments interface to set off a deployment. We advocate guide deployments for those who don’t wish to use a staging web site.

The repository listing for WordPress.com's GitHub Deployments with a red arrow pointing to the repository option menu item 'Trigger manual deployment'

Usually, computerized deployments should not advisable for dwell manufacturing websites, as any modifications to the code within the repository are mechanically deployed from GitHub to the dwell web site. As an alternative, you could resolve to mechanically deploy first to a staging web site after which sync the staging web site to manufacturing when you’re prepared.

That mentioned, select your individual journey and deploy by yourself phrases.

Do your factor, and we’ll deal with the remaining

Growth on WordPress.com has by no means been simpler. Say goodbye to guide deployments and whats up to extra environment friendly collaboration, streamlined model management, and the peace of thoughts that comes with understanding your challenge knowledge is safe.

Get prompt entry to our new GitHub Deployments with a Creator or Entrepreneur plan (do you know we have now a 14-day refund coverage?).

Able to attempt GitHub Deployments out for your self? Click on right here to begin deploying, and be taught extra by studying our developer documentation.


Main kudos to the GitHub Deployments group on this launch! Paulo Trentin, Jeroen Pfeil, Kenroy Mcleish, Mike Kelly, Javier Arce, Jeff Sanquist, Alexa Peduzzi, Jeremy Anderberg, and our beta testers.


Be a part of 106.1M different subscribers

Related Articles

Latest Articles