This repository has been archived by the owner on Oct 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
49 lines (48 loc) · 1.66 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
name: "Automatic WordPress deployment to WP Engine"
branding:
icon: "arrow-up-circle"
color: "yellow"
description: "Set automatic deployments using an SSH private key and rsync."
inputs:
WPE_SSH_KEY:
description: "The private RSA key. You must save this in the Github Secrets and authotize it on WP Engine."
required: true
PRD_BRANCH:
description: "Name of the branch you would like to deploy from, e.g., 'main'."
default: ""
required: false
PRD_ENV:
description: "Name of the WP Engine Prod environment you want to deploy to."
default: ""
required: false
STG_BRANCH:
description: "Name of the staging branch you would like to deploy from."
default: ""
required: false
STG_ENV:
description: "Name of the the WP Engine Stage environment you want to deploy to."
default: ""
required: false
DEV_BRANCH:
description: "Name of the a development branch you would like to deploy from."
default: ""
required: false
DEV_ENV:
description: "Name of the the WP Engine Dev environment you want to deploy to."
default: ""
required: false
SOURCE_PATH:
description: "Path to specify a theme, plugin, or any other directory source to deploy from. Defaults to the repository root."
default: "."
required: false
PUBLISH_PATH:
description: "Path to specify a theme, plugin, or any other directory destination to deploy to. Defaults to the WordPress root directory."
default: ""
required: false
FAIL_CODE:
description: "Code number to be used if the action fails (0 = success and 1 = error). Defaults to 1."
default: ""
required: false
runs:
using: "docker"
image: "Dockerfile"