Skip to content

dylangarcia/nexrender-action-unzip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prerender Action: Unzip

Unzip your template source before rendering begins

Installation

npm i -g nexrender-action-unzip

Usage

When creating your render job, provide this module as one of the prerender actions:

// job.json
{
    "actions": {
        "prerender": [
            {
                "module": "nexrender-action-unzip",
                "output": "MyTemplate.aep"
            }
        ]
    }
}

Information

  • output is the file name that your Job's composition source changes to after it unzips.

In this example, the template source has a hash in the zip's file name, but when it unzips, we want to save it to a new loation.

{
    "template": {
      "src": "gs://bucket/MyTemplate.hash.zip",
      "output": "MyTemplate.aep"
    }
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published