From 3243b292cd0aabec01e156f216656a8bab27e21f Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Tue, 7 Jan 2025 17:49:56 +0100 Subject: [PATCH] Update default blueprint (#227) --- action.yml | 5 +++++ env/blueprints/setup.json | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index 8e11892..3d16d93 100644 --- a/action.yml +++ b/action.yml @@ -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: diff --git a/env/blueprints/setup.json b/env/blueprints/setup.json index 7d54d0f..4cc2949 100644 --- a/env/blueprints/setup.json +++ b/env/blueprints/setup.json @@ -30,10 +30,11 @@ }, { "step": "installTheme", - "themeZipFile": { + "themeData": { "resource": "wordpress.org/themes", "slug": "twentytwentyone" }, + "ifAlreadyInstalled": "skip", "options": { "activate": true, "importStarterContent": false @@ -41,10 +42,11 @@ }, { "step": "installTheme", - "themeZipFile": { + "themeData": { "resource": "wordpress.org/themes", "slug": "twentytwentythree" }, + "ifAlreadyInstalled": "skip", "options": { "activate": false, "importStarterContent": false