Skip to content

Commit 5079485

Browse files
committed
back to using writeFile
1 parent 4728b90 commit 5079485

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

blueprints/install-plugin-from-gist/blueprint.json

+11-8
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,20 @@
1010
"wp": "beta",
1111
"php": "8.0"
1212
},
13-
"login": true,
13+
"login":true,
1414
"steps": [
1515
{
16-
"step": "installPlugin",
17-
"pluginData": {
18-
"resource": "url",
19-
"url": "https://gist.githubusercontent.com/ndiego/456b74b243d86c97cda89264c68cbdee/raw/ff00cf25e6eebe4f5a4eaecff10286f71e65340b/block-hooks-demo.php"
20-
},
21-
"options": {
22-
"activate": true
16+
"step": "writeFile",
17+
"path": "/wordpress/wp-content/plugins/0-plugin.php",
18+
"data": {
19+
"resource": "url",
20+
"url": "https://gist.githubusercontent.com/ndiego/456b74b243d86c97cda89264c68cbdee/raw/ff00cf25e6eebe4f5a4eaecff10286f71e65340b/block-hooks-demo.php"
2321
}
22+
},
23+
{
24+
"step": "activatePlugin",
25+
"pluginName": "Block Hooks Demo",
26+
"pluginPath": "0-plugin.php"
2427
}
2528
]
2629
}

0 commit comments

Comments
 (0)