pnp powershell – Applying SharePoint Lookbook Template to Existing Tenant Site

I am hoping to deploy a Sharepoint Lookbook template on a SharePoint Online server, of which I am the tenant admin. I’ve downloaded the templates from the lookbook github repo. All documentation I’ve found shows how to create a new site with one of the templates, by going directly to the Sharepoint lookbook. But how do I import one of the templates with the aim of applying it to an existing site?

So far, I’ve downloaded a zip of the entire github repo, (which is massive btw, at over 2GB) and copied out one of the template folders. Now, let’s say I want to deploy the ContosoWorkshop tenant template. The contents of the template folder are:-

 - ContosoWorkshop.pnp
 - full-layout-workshop.png
 - settings.json
 - top-workshop.png
 - source/
   - template.xml
   - assets/
     - Various image files ...

In PowerShell, I’ve successfully installed the PnP.PowerShell, and Microsoft.Online.SharePoint.PowerShell modules, connected to SharePoint online successfully, but am now lost…

The and files don’t explain how to install this template on my tenant. Any ideas?

So far I have:-

PS> Import-Module PnP.PowerShell
PS> Connect-PnPOnline -Url

I was looking at the SharePoint documentation about Get started creating site designs and site scripts, but the settings.json file doesn’t appear to be a valid script, as per the schema here.

Any advice would be appreciated, thanks.