Skip to content

Github action to deploy a new release of your web site to metablock cloud

License

Notifications You must be signed in to change notification settings

quantmind/metablock-web

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deploy a Metablock Web site

build

Deploy a new version of a web site 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.

About

Github action to deploy a new release of your web site to metablock cloud

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published