Metablock Action
Deploy a new version of a block to metablock cloud.
Inputs
- token: Metablock API token, you need to create one on the metablock admin. Alternatively set the
METABLOCK_API_TOKENenvironment variable. - block: Metablock Block ID. Alternatively set the
METABLOCK_BLOCK_IDenvironment variable. - env: environment where to deploy, either
stageorprod, (it defaults tostageif 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.