Skip to content

Metablock Action

Actions
Make a new deployment into metablock cloud
v4.0.0
Latest
Star (0)

Metablock Action

build

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 location. 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). Can be set via METABLOCK_ENV environment variable.
  • name: optional deployment name

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

Metablock Action is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Make a new deployment into metablock cloud
v4.0.0
Latest

Metablock Action is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.