Commit f7f2d02 1 parent 3393625 commit f7f2d02 Copy full SHA for f7f2d02
File tree 2 files changed +36
-11
lines changed
2 files changed +36
-11
lines changed Original file line number Diff line number Diff line change 12
12
"networking" : true
13
13
},
14
14
"steps" : [
15
+ {
16
+ "step" : " login" ,
17
+ "username" : " admin" ,
18
+ "password" : " password"
19
+ },
15
20
{
16
21
"step" : " setSiteOptions" ,
17
22
"options" : {
21
26
}
22
27
},
23
28
{
24
- "step" : " login" ,
25
- "username" : " admin" ,
26
- "password" : " password"
29
+ "step" : " installPlugin" ,
30
+ "pluginZipFile" : {
31
+ "resource" : " wordpress.org/plugins" ,
32
+ "slug" : " gatherpress"
33
+ },
34
+ "options" : {
35
+ "activate" : false
36
+ }
27
37
},
28
38
{
29
39
"step" : " writeFile" ,
44
54
"resource" : " vfs" ,
45
55
"path" : " /wordpress/wporg-mu-plugins.zip"
46
56
},
47
- "extractToPath" : " /wordpress/wp-content/mu-plugins "
57
+ "extractToPath" : " /wordpress/wp-content"
48
58
},
49
59
{
50
60
"step" : " writeFile" ,
72
82
}
73
83
},
74
84
{
75
- "step" : " installPlugin" ,
76
- "pluginZipFile" : {
77
- "resource" : " url" ,
78
- "url" : " https://github-proxy.com/proxy/?repo=WordPress/phpdoc-parser&branch=master"
85
+ "step" : " writeFile" ,
86
+ "path" : " /wordpress/phpdoc-parser.zip" ,
87
+ "data" : {
88
+ "resource" : " url" ,
89
+ "url" : " https://raw.githubusercontent.com/carstingaxion/gatherpress-devhub/WIP/use-build-deps/zips/phpdoc-parser.zip" ,
90
+ "caption" : " Downloading phpdoc-parser."
79
91
},
80
- "options" : {
81
- "activate" : true
92
+ "progress" : {
93
+ "weight" : 2 ,
94
+ "caption" : " Applying phpdoc-parser."
82
95
}
96
+ },
97
+ {
98
+ "step" : " unzip" ,
99
+ "zipFile" : {
100
+ "resource" : " vfs" ,
101
+ "path" : " /wordpress/phpdoc-parser.zip"
83
102
},
84
- {
103
+ "extractToPath" : " /wordpress"
104
+ },
105
+ {
106
+ "step" : " wp-cli" ,
107
+ "command" : " wp plugin activate phpdoc-parser"
108
+ },
109
+ {
85
110
"step" : " wp-cli" ,
86
111
"command" : " wp parser create '/wordpress/wp-content/plugins/gatherpress' --user=1"
87
112
}
You can’t perform that action at this time.
0 commit comments