Commit 43d736a 1 parent e42bef2 commit 43d736a Copy full SHA for 43d736a
File tree 1 file changed +14
-16
lines changed
blueprints/wpcli-post-with-image
1 file changed +14
-16
lines changed Original file line number Diff line number Diff line change 10
10
"login" : true ,
11
11
"steps" : [
12
12
{
13
- "step" : " writeFiles" ,
14
- "writeToPath" : " /wordpress/wp-content" ,
15
- "filesTree" : {
16
- "resource" : " literal:directory" ,
17
- "name" : " wp-content" ,
18
- "files" : {
19
- "postcontent.md" : {
20
- "resource" : " url" ,
21
- "url" : " https://raw.githubusercontent.com/wordpress/blueprints/trunk/blueprints/wpcli-post-with-image/postcontent.md"
22
- },
23
- "Select-storage-method.png" : {
24
- "resource" : " url" ,
25
- "url" : " https://raw.githubusercontent.com/wordpress/blueprints/trunk/blueprints/wpcli-post-with-image/Select-storage-method.png"
26
- }
27
- }
13
+ "step" : " writeFile" ,
14
+ "path" : " /wordpress/wp-content/postcontent.md" ,
15
+ "data" : {
16
+ "resource" : " url" ,
17
+ "url" : " https://raw.githubusercontent.com/wordpress/blueprints/trunk/blueprints/wpcli-post-with-image/postcontent.md"
28
18
}
29
- },
19
+ },
20
+ {
21
+ "step" : " writeFile" ,
22
+ "path" : " /wordpress/wp-content/Select-storage-method.png" ,
23
+ "data" : {
24
+ "resource" : " url" ,
25
+ "url" : " https://raw.githubusercontent.com/wordpress/blueprints/trunk/blueprints/wpcli-post-with-image/Select-storage-method.png"
26
+ }
27
+ },
30
28
{
31
29
"step" : " wp-cli" ,
32
30
"command" : " wp post create --post_title='Welcome to Playground' --post_status='published' /wordpress/wp-content/postcontent.md"
You can’t perform that action at this time.
0 commit comments