Skip to content

Commit 69d10ba

Browse files
authored
Merge pull request #14 from wpengine/CICD-30
[CICD-30] Update and polish repo documentation
2 parents dc3acfe + 31dddec commit 69d10ba

File tree

2 files changed

+13
-9
lines changed

2 files changed

+13
-9
lines changed

README.md

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,21 @@
1-
# GitHub Action for WP Engine Site Deployments
1+
![Site Deployment GitHub Action by WP Engine](docs/images/banner.jpg)
22

3-
This GitHub Action may be used to deploy code from a GitHub repo to a WP Engine environment of your choosing. Deploy a full site directory or a subdirectory of your WordPress install. Other options include performing a PHP Lint, custom rsync flags, clearing cache and a executing a post-deploy script of your choosing.
3+
# Site Deployment GitHub Action by WP Engine
44

5-
v3.0 AVAILABLE NOW! [View Changelog here.](https://github.com/wpengine/github-action-wpe-site-deploy/releases)
5+
Use this GitHub Action to deploy code from a GitHub repo to a WP Engine environment of your choosing.
6+
What this action lets you do:
7+
* Deploy a full site directory or a subdirectory of your WordPress install
8+
* Perform a PHP Lint
9+
* Custom rsync flags
10+
* Clear cache
11+
* Execute a post-deploy script of your choosing
612

713

14+
v3.0 AVAILABLE NOW! [View Changelog here.](https://github.com/wpengine/github-action-wpe-site-deploy/releases)
815

9-
## Setup Instructions
10-
**TLDR;**
1116

12-
(step 1 & 2) Connect GitHub and WP Engine, saving Private and Public SSH key to each respectively.
1317

14-
(step 3) Setup local yml config to orchestrate deploy.
18+
## Setup Instructions
1519

1620
1. **SSH PRIVATE KEY SETUP IN GITHUB**
1721
* [Generate a new SSH key pair](https://wpengine.com/support/ssh-keys-for-shell-access/#Generate_New_SSH_Key) if you have not already done so. Please note that this SSH Key needs to be *passwordless*.
@@ -101,7 +105,7 @@ jobs:
101105

102106
| Name | Type | Usage |
103107
|-|-|-|
104-
| `WPE_ENV` | string | Insert the name of the WP Engine environment you want to deploy to. This also has an alias of `PRD_ENV`, `STG_ENV`, or `DEV_ENV` for multistep workflows. |
108+
| `WPE_ENV` | string | Insert the name of the WP Engine environment you want to deploy to. This also has an alias of `PRD_ENV`, `STG_ENV`, or `DEV_ENV` for multi-step workflows. |
105109
| `SRC_PATH` | string | Optional path to specify a directory within the repo to deploy from. Ex. `"wp-content/themes/genesis-child-theme/"`. Defaults to root of repo filesystem as source. |
106110
| `REMOTE_PATH` | string | Optional path to specify a directory destination to deploy to. Ex. `"wp-content/themes/genesis-child-theme/"` . Defaults to WordPress root directory on WP Engine. |
107111
| `PHP_LINT` | bool | Set to TRUE to execute a php lint on your branch pre-deployment. Default is `FALSE`. |
@@ -110,7 +114,7 @@ jobs:
110114
| `CACHE_CLEAR` | bool | Optionally clear cache post deploy. This takes a few seconds. Default is TRUE. |
111115

112116

113-
### Further reading
117+
### Further reading
114118

115119
* [Defining environment variables in GitHub Actions](https://docs.github.com/en/actions/reference/environment-variables)
116120
* [Storing secrets in GitHub repositories](https://docs.github.com/en/actions/reference/encrypted-secrets)

docs/images/banner.jpg

197 KB
Loading

0 commit comments

Comments
 (0)