Skip to content

Commit 43d736a

Browse files
committed
return to previous writeFile steps.
1 parent e42bef2 commit 43d736a

File tree

1 file changed

+14
-16
lines changed

1 file changed

+14
-16
lines changed

blueprints/wpcli-post-with-image/blueprint.json

+14-16
Original file line numberDiff line numberDiff line change
@@ -10,23 +10,21 @@
1010
"login": true,
1111
"steps": [
1212
{
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"
2818
}
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+
},
3028
{
3129
"step": "wp-cli",
3230
"command": "wp post create --post_title='Welcome to Playground' --post_status='published' /wordpress/wp-content/postcontent.md"

0 commit comments

Comments
 (0)