This repository contains the GitHub actions for deploying WordPress projects.
To use these actions, you need to create a new workflow in your project. You can do that by creating a new YAML (.yml) file in the .github/workflows directory.
Depending on the type of the project and infrastructure, you can choose to deploy using SSH or Docker.
Standard projects contains workflows that can be find in the examples directory:
ci.yml- runs checks on the project (e.g. linters, unit tests, ...)deploy.yml- deploys the project on the server based on the selected environment and branch.rollback.yml- rollback the project to the previous release.
Documentation SSH:
Documentation Docker:
- Clean up - project
- Clean up - root
- Docker - build and push
- Lint - Assets
- Lint - PHP - CS
- Lint - PHP
- Plugins - Install
- Plugins - Core plugins
- Plugins - Eightshift plugins
- Plugins - Paid plugins
- Set cache
- Set correct folder/file permissions
- Set special constants
- Set version - plugin
- Set version - theme
- Setup theme from submodule
- Setup theme or plugin
- Setup WordPress
- Setup WordPress - plugins
- Slack - notification
- SSH - release cleanup
- SSH - rollback
- SSH - server deploy
- SSH - server deploy - self-hosted runner