Skip to content

Commit 4728b90

Browse files
committed
experiment with pluginData
1 parent b21f2bd commit 4728b90

File tree

1 file changed

+8
-13
lines changed

1 file changed

+8
-13
lines changed

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

+8-13
Original file line numberDiff line numberDiff line change
@@ -10,22 +10,17 @@
1010
"wp": "beta",
1111
"php": "8.0"
1212
},
13+
"login": true,
1314
"steps": [
1415
{
15-
"step": "login"
16-
},
17-
{
18-
"step": "writeFile",
19-
"path": "/wordpress/wp-content/plugins/0-plugin.php",
20-
"data": {
21-
"resource": "url",
22-
"url": "https://gist.githubusercontent.com/ndiego/456b74b243d86c97cda89264c68cbdee/raw/ff00cf25e6eebe4f5a4eaecff10286f71e65340b/block-hooks-demo.php"
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
2323
}
24-
},
25-
{
26-
"step": "activatePlugin",
27-
"pluginName": "Block Hooks Demo",
28-
"pluginPath": "0-plugin.php"
2924
}
3025
]
3126
}

0 commit comments

Comments
 (0)