GitHub Actions
GitHub Actions is useful for running continuous integration and continuous deployment (CI/CD) tasks and workflows, such as optimizing static resources, bundling CSS and JS, using composer to fetch and install dependencies.
Enable GitHub Actions
To enable GitHub Actions for a wpcomvip GitHub repository, create a VIP Support request. Include a URL for the repository where GitHub Actions should be enabled. VIP Support will confirm when GitHub Actions is enabled and ready to use.
To use GitHub Actions for a build and deploy workflow, a workflow template must be created and customized in an application’s repository. To get started more quickly, copy an example workflow template file created by WordPress VIP to a repository and customize it as needed for an application.
Limitations
GitHub Actions is a resource shared by multiple WordPress VIP applications. For the benefit of all customers, follow these guidelines:
- Only Standard-class, Linux runners are supported. If this runner class is not sufficient, create a VIP Support request and to discuss an application’s requirements and discuss possible solutions.
- Only run tasks and jobs that are related to a WordPress VIP application.
- Only run tasks and jobs when they are necessary (e.g. only trigger for pull requests and branches tied to an environment).
- Optimize the overall usage of GitHub Actions as much as possible.
If unreasonable usage of GitHub Actions is discovered by VIP, affected customers will be contacted to discuss that usage and work through possible improvements and alternatives.
Last updated: March 19, 2025