Skip to content

Commit

Permalink
Update default blueprint (#227)
Browse files Browse the repository at this point in the history
  • Loading branch information
swissspidy authored Jan 7, 2025
1 parent 5677a9d commit 3243b29
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
5 changes: 5 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,11 @@ runs:
ARGS+=(--php=$PHP_VERSION)

echo "::group::Start Playground server"

IFS=,
echo "Providing arguments: ${ARGS[*]}"
unset IFS;

./node_modules/@wp-playground/cli/wp-playground.js server "${ARGS[@]}" &
echo "::endgroup::"
env:
Expand Down
6 changes: 4 additions & 2 deletions env/blueprints/setup.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,21 +30,23 @@
},
{
"step": "installTheme",
"themeZipFile": {
"themeData": {
"resource": "wordpress.org/themes",
"slug": "twentytwentyone"
},
"ifAlreadyInstalled": "skip",
"options": {
"activate": true,
"importStarterContent": false
}
},
{
"step": "installTheme",
"themeZipFile": {
"themeData": {
"resource": "wordpress.org/themes",
"slug": "twentytwentythree"
},
"ifAlreadyInstalled": "skip",
"options": {
"activate": false,
"importStarterContent": false
Expand Down

0 comments on commit 3243b29

Please sign in to comment.