15
15
{
16
16
"step" : " setSiteOptions" ,
17
17
"options" : {
18
- "blogname" : " crud_the_docs_playground " ,
19
- "blogdescription" : " CRUD the crud_the_docs_playground in Playground." ,
20
- "wordpress_export_to_server__owner_repo_branch" : " carstingaxion/crud-the-docs-playground /main"
18
+ "blogname" : " project_urlname " ,
19
+ "blogdescription" : " CRUD the project_urlname in Playground." ,
20
+ "wordpress_export_to_server__owner_repo_branch" : " author_name/project_urlname /main"
21
21
}
22
22
},
23
23
{
24
24
"step" : " defineWpConfigConsts" ,
25
25
"consts" : {
26
- "UPLOADS" : " wp-content/crud-the-docs-playground -main"
26
+ "UPLOADS" : " wp-content/project_urlname -main"
27
27
}
28
28
},
29
29
{
45
45
},
46
46
{
47
47
"step" : " writeFile" ,
48
- "path" : " /wordpress/wp-content/crud-the-docs-playground .zip" ,
48
+ "path" : " /wordpress/wp-content/project_urlname .zip" ,
49
49
"data" : {
50
50
"resource" : " url" ,
51
- "url" : " https://github-proxy.com/proxy/?repo=carstingaxion/crud-the-docs-playground " ,
52
- "caption" : " Downloading crud_the_docs_playground repository."
51
+ "url" : " https://github-proxy.com/proxy/?repo=author_name/project_urlname " ,
52
+ "caption" : " Downloading project_urlname repository."
53
53
},
54
54
"progress" : {
55
55
"weight" : 2 ,
56
- "caption" : " Applying crud_the_docs_playground files."
56
+ "caption" : " Applying project_urlname files."
57
57
}
58
58
},
59
59
{
60
60
"step" : " unzip" ,
61
61
"zipFile" : {
62
62
"resource" : " vfs" ,
63
- "path" : " /wordpress/wp-content/crud-the-docs-playground .zip"
63
+ "path" : " /wordpress/wp-content/project_urlname .zip"
64
64
},
65
65
"extractToPath" : " /wordpress/wp-content"
66
66
},
81
81
},
82
82
{
83
83
"step" : " runPHP" ,
84
- "code" : " <?php require '/wordpress/wp-load.php';$path = realpath( '/wordpress/wp-content/crud-the-docs-playground -main/export.xml' );$logger = new WP_Importer_Logger_CLI();$logger->min_level = 'info';$options = array( 'fetch_attachments' => false, 'default_author' => 1,);$importer = new WXR_Importer( $options );$importer->set_logger( $logger );$result = $importer->import( $path );"
84
+ "code" : " <?php require '/wordpress/wp-load.php';$path = realpath( '/wordpress/wp-content/project_urlname -main/export.xml' );$logger = new WP_Importer_Logger_CLI();$logger->min_level = 'info';$options = array( 'fetch_attachments' => false, 'default_author' => 1,);$importer = new WXR_Importer( $options );$importer->set_logger( $logger );$result = $importer->import( $path );"
85
85
}
86
86
]
87
87
}
0 commit comments