Skip to content

Commit 9477d43

Browse files
committed
switch from blueprint.json to playground.json
1 parent ba28427 commit 9477d43

3 files changed

Lines changed: 34 additions & 20 deletions

File tree

.github/workflows/playground.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,9 @@ jobs:
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
")

.wordpress-org/blueprints/blueprint.json

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -4,28 +4,11 @@
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
}
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
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+
}

0 commit comments

Comments
 (0)