-
Notifications
You must be signed in to change notification settings - Fork 2
/
blueprint.json
73 lines (73 loc) · 1.97 KB
/
blueprint.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
{
"$schema": "https://playground.wordpress.net/blueprint-schema.json",
"landingPage": "/",
"steps": [
{
"step": "login"
},
{
"step": "runSql",
"sql": {
"resource": "literal",
"name": "schema.sql",
"contents": "DELETE FROM wp_posts"
}
},
{
"step": "writeFile",
"path": "/wordpress/wp-content/mu-plugins/rewrite.php",
"data": "<?php add_action( 'after_setup_theme', function() { global $wp_rewrite; $wp_rewrite->set_permalink_structure('/%postname%/'); $wp_rewrite->flush_rules(); } );"
},
{
"step": "installPlugin",
"pluginZipFile": {
"resource": "url",
"url": "https://github-proxy.com/proxy/?repo=bgrgicak/playground-blog"
},
"options": {
"activate": false
}
},
{
"step": "mkdir",
"path": "/wordpress/wp-content/uploads/markdown"
},
{
"step": "mv",
"fromPath": "/wordpress/wp-content/plugins/playground-blog-main/posts",
"toPath": "/wordpress/wp-content/uploads/markdown"
},
{
"step": "mkdir",
"path": "/wordpress/wp-content/plugins/playground-markdown"
},
{
"step": "mv",
"fromPath": "/wordpress/wp-content/plugins/playground-blog-main/playground-markdown",
"toPath": "/wordpress/wp-content/plugins/playground-markdown"
},
{
"step": "activatePlugin",
"pluginPath": "playground-markdown/playground-markdown.php"
},
{
"step": "installPlugin",
"pluginZipFile": {
"resource": "url",
"url": "https://github-proxy.com/proxy/?repo=dmsnell/blocky-formats"
},
"options": {
"activate": false
}
},
{
"step": "mv",
"fromPath": "/wordpress/wp-content/plugins/blocky-formats-trunk",
"toPath": "/wordpress/wp-content/plugins/blocky-formats"
},
{
"step": "activatePlugin",
"pluginPath": "blocky-formats/blocky-formats.php"
}
]
}