From 4e6ad4ce00237a1ae9e310e3525e93806f070d88 Mon Sep 17 00:00:00 2001 From: JuanMa Garrido Date: Tue, 3 Sep 2024 12:24:39 +0200 Subject: [PATCH] new example of installing a theme from a GitHub repository --- .../blueprint.json | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 blueprints/install-theme-from-directory-repo/blueprint.json diff --git a/blueprints/install-theme-from-directory-repo/blueprint.json b/blueprints/install-theme-from-directory-repo/blueprint.json new file mode 100644 index 0000000..bbea3f6 --- /dev/null +++ b/blueprints/install-theme-from-directory-repo/blueprint.json @@ -0,0 +1,30 @@ +{ + "$schema": "https://playground.wordpress.net/blueprint-schema.json", + "meta": { + "title": "Install theme from a GitHub repo", + "description": "It installs a theme from a directory inside a GitHub repo.", + "author": "juanmaguitar", + "categories": ["theme", "repository", "test"] + }, + "landingPage": "/wp-admin/post.php", + "preferredVersions": { + "php": "8.0", + "wp": "beta" + }, + "features": { + "networking": true + }, + "login": true, + "steps": [ + { + "step": "installTheme", + "themeZipFile": { + "resource": "url", + "url": "https://github-proxy.com/proxy/?repo=Automattic/themes&branch=trunk&directory=assembler" + }, + "options": { + "activate": true + } + } + ] +}