Managed Hosting for WordPress Help

Set up CI/CD deployments via GitHub Actions

Streamline your WordPress development workflow by automatically deploying changes from your GitHub repository to your Managed Hosting for WordPress site. With Continuous Integration/Continuous Deployment (CI/CD) integration, you can push code changes to GitHub and automatically deploy them to your live site, eliminating manual file transfers and reducing deployment errors.

Benefits of GitHub Actions deployment:

  • Automated deployments: Push code changes and watch them deploy automatically
  • Version control: Track all changes with GitHub's robust version control system
  • Reduced errors: Eliminate manual file upload mistakes
  • Team collaboration: Multiple developers can contribute safely to the same project
  • Rollback capability: Easily revert to previous versions if needed
  • Consistent deployments: Every deployment follows the same automated process

Prerequisites

Before setting up CI/CD integration, you'll need:

Set up CI/CD integration

  1. Go to your GoDaddy product page.
  2. On your My Products page, select Manage All next to Managed Hosting for WordPress.
  3. Select Settings from the Menu icon menu, for the plan you want to set up CI/CD on.
  4. Under Production Site or Staging Site, next to CI/CD Integration, select Enable.
  5. Paste your SSH public key (not the private key) in the SSH key field.
  6. Select Connect.
  7. Wait for the provisioning process to complete. This may take a few minutes.
  8. Once provisioning is finished:
    • You'll see your new deploy user credentials.
    • You can download or copy/paste a customized workflow file into your project.
      • Ensure you've added your private key to GitHub Secrets for action under PRIVATE_KEY.
Note: The deploy user is explicitly designed for automated deployments and does not allow interactive SSH logins.

Your CI/CD integration is now ready to streamline your WordPress development process. When needed, after you push changes to your connected GitHub repository, you can execute your GitHub Action to deploy to your Managed Hosting for WordPress site.

Related steps

  • After completing the setup, add the provided workflow file to your GitHub repository's .github/workflows/ directory. This file contains the configuration to easily deploy your changes when you push to your designated branch.

More info

Share this article