-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
60 lines (59 loc) · 1.7 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
50
51
52
53
54
55
56
57
58
59
60
name: "Deploy WordPress projects to WP Engine"
branding:
icon: "upload-cloud"
color: "purple"
description: "Deploy WordPress projects to WP Engine"
inputs:
WPE_SSHG_KEY_PRIVATE:
description: "The private RSA key you will save in the Github Secrets"
required: true
PHP_LINT:
description: "optional php syntax check"
required: false
default: false
FLAGS:
description: "Optional flags for the deployment"
required: true
default: '-azvr --inplace --exclude=".*"'
CACHE_CLEAR:
description: "Optional WPE Clear cache"
required: false
default: true
TPO_SRC_PATH:
description: "An optional source directory to deploy other than the root directory that is being versioned."
default: "."
required: false
TPO_PATH:
description: "An optional destination directory to deploy to other than the WordPress root."
default: ""
required: false
PRD_BRANCH:
description: "Source branch to deploy PRD_ENV"
required: true
default: "PROD_BRANCH_HERE"
PRD_ENV:
description: "Destination to deploy to WPE Prod"
required: true
default: "PROD_ENV_HERE"
STG_BRANCH:
description: "Source branch to deploy STG_ENV"
required: false
default: "STAGE_BRANCH_HERE"
STG_ENV:
description: "Destination to deploy to WPE Stage"
required: false
default: "STAGE_ENV_HERE"
DEV_BRANCH:
description: "Source branch to deploy DEV_ENV"
required: false
default: "DEV_BRANCH_HERE"
DEV_ENV:
description: "Destination to deploy to WPE Dev"
required: false
default: "DEV_ENV_HERE"
SCRIPT:
description: "File containing custom scripts run after the rsync"
required: false
runs:
using: "docker"
image: "Dockerfile"