Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 1.04 KB

readme.md

File metadata and controls

15 lines (10 loc) · 1.04 KB

Metablock Action

build test

Deploy a new version of an html block to metablock cloud.

Inputs

  • token: Metablock API token, you need to create one on the metablock admin. Alternatively set the METABLOCK_API_TOKEN environment variable.
  • block: Metablock Block ID. Alternatively set the METABLOCK_BLOCK_ID environment variable.
  • bundle: bundle locatiuon. Alternatively set the BUNDLE_LOCATION environment variable, (it defaults to ./dist if not provided)
  • env: environment where to deploy, either stage or prod, (it defaults to stage if not provided)

Check the test.yml manifest file for an example where pull requests to master are deployed to stage and a merge to master to prod.