File tree 1 file changed +20
-15
lines changed
1 file changed +20
-15
lines changed Original file line number Diff line number Diff line change @@ -5,21 +5,26 @@ An action to deploy your repository to a **[WP Engine](https://wpengine.com)** s
5
5
## Example GitHub Action workflow
6
6
7
7
```
8
- workflow "Deploy to WP Engine" {
9
- on = "push"
10
- resolves = ["Git Push to Production"]
11
- }
12
-
13
- action "Git Push to Production" {
14
- uses = "jovrtn/github-action-wpengine-git-deploy@master"
15
- env = {
16
- WPENGINE_ENVIRONMENT_NAME = "my-cool-site-production"
17
- }
18
- secrets = [
19
- "WPENGINE_SSH_KEY_PRIVATE",
20
- "WPENGINE_SSH_KEY_PUBLIC"
21
- ]
22
- }
8
+ name: CI
9
+
10
+ on:
11
+ push:
12
+ branches: [ master ]
13
+
14
+ jobs:
15
+ build:
16
+ runs-on: ubuntu-latest
17
+
18
+ steps:
19
+ - name: Checkout Repo
20
+ uses: actions/checkout@v1
21
+
22
+ - name: Deploy to WP-Engine
23
+ uses: PhinCo/github-action-wpengine-git-deploy@7 # Note, the `@7` is the release name
24
+ env:
25
+ WPENGINE_ENVIRONMENT_NAME: [your wpengine environement name]
26
+ WPENGINE_SSH_KEY_PRIVATE: ${{ secrets.WPENGINE_SSH_KEY_PRIVATE }} # Configured in Repo/Settings/Secrets
27
+ WPENGINE_SSH_KEY_PUBLIC: ${{ secrets.WPENGINE_SSH_KEY_PUBLIC }} # Configured in Repo/Settings/Secrets
23
28
```
24
29
25
30
## Environment Variables & Secrets
You can’t perform that action at this time.
0 commit comments