File tree Expand file tree Collapse file tree
.wordpress-org/blueprints Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6161 # Use Node.js to parse, modify, and stringify the JSON
6262 BLUEPRINT=$(node -e "
6363 const fs = require('fs');
64- const blueprint = JSON.parse(fs.readFileSync('.wordpress-org/blueprints/blueprint .json', 'utf8'));
64+ const blueprint = JSON.parse(fs.readFileSync('.wordpress-org/blueprints/playground .json', 'utf8'));
6565 blueprint.plugins = blueprint.plugins.map(plugin =>
66- plugin === 'progress-planner ' ? '$ARTIFACT_URL' : plugin
66+ plugin === '${{ github.repository }} ' ? '$ARTIFACT_URL' : plugin
6767 );
6868 console.log(JSON.stringify(blueprint));
6969 ")
Original file line number Diff line number Diff line change 44 "networking" : true
55 },
66 "plugins" : [
7- " progress-planner" ,
8- " wordpress-seo"
7+ " progress-planner"
98 ],
109 "steps" : [
1110 {
1211 "step" : " login"
13- },
14- {
15- "step" : " setSiteOptions" ,
16- "options" : {
17- "wpseo" : " a:5:{s:22:\" show_onboarding_notice\" ;b:0;s:36:\" dismiss_configuration_workout_notice\" ;b:1;s:18:\" first_time_install\" ;b:0;s:34:\" activation_redirect_timestamp_free\" ;i:1652258756;s:34:\" should_redirect_after_install_free\" ;b:0;}"
18- }
19- },
20- {
21- "step" : " defineWpConfigConsts" ,
22- "consts" : {
23- "IS_PLAYGROUND_PREVIEW" : true ,
24- "WPSEO_PREMIUM_FILE" : " override" ,
25- "WPSEO_PREMIUM_VERSION" : " 24.8.1" ,
26- "YOAST_ENVIRONMENT" : " development" ,
27- "WP_ENVIRONMENT_TYPE" : " development"
28- }
2912 }
3013 ]
3114}
Original file line number Diff line number Diff line change 1+ {
2+ "landingPage" : " /wp-admin/admin.php?page=progress-planner" ,
3+ "features" : {
4+ "networking" : true
5+ },
6+ "plugins" : [
7+ " progress-planner" ,
8+ " wordpress-seo"
9+ ],
10+ "steps" : [
11+ {
12+ "step" : " login"
13+ },
14+ {
15+ "step" : " setSiteOptions" ,
16+ "options" : {
17+ "wpseo" : " a:5:{s:22:\" show_onboarding_notice\" ;b:0;s:36:\" dismiss_configuration_workout_notice\" ;b:1;s:18:\" first_time_install\" ;b:0;s:34:\" activation_redirect_timestamp_free\" ;i:1652258756;s:34:\" should_redirect_after_install_free\" ;b:0;}"
18+ }
19+ },
20+ {
21+ "step" : " defineWpConfigConsts" ,
22+ "consts" : {
23+ "IS_PLAYGROUND_PREVIEW" : true ,
24+ "WPSEO_PREMIUM_FILE" : " override" ,
25+ "WPSEO_PREMIUM_VERSION" : " 24.8.1" ,
26+ "YOAST_ENVIRONMENT" : " development" ,
27+ "WP_ENVIRONMENT_TYPE" : " development"
28+ }
29+ }
30+ ]
31+ }
You can’t perform that action at this time.
0 commit comments