You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Deploy a new version of an html block to metablock cloud.
7
6
8
7
## Inputs
9
8
10
9
-**token**: Metablock API token, you need to create one on the metablock admin. Alternatively set the `METABLOCK_API_TOKEN` environment variable.
11
10
-**block**: Metablock Block ID. Alternatively set the `METABLOCK_BLOCK_ID` environment variable.
12
-
-**bundle**: bundle locatiuon. Alternatively set the `BUNDLE_LOCATION` environment variable, (it defaults to `./dist` if not provided)
13
-
-**env**: environment where to deploy, either `stage` or `prod`, (it defaults to `stage` if not provided)
11
+
-**bundle**: bundle location. Alternatively set the `BUNDLE_LOCATION` environment variable, (it defaults to `./dist` if not provided)
12
+
-**env**: environment where to deploy, either `stage` or `prod`, (it defaults to `stage` if not provided). Can be set via `METABLOCK_ENV` environment variable.
13
+
-**name**: optional deployment name
14
14
15
-
Check the [test.yml](./.github/workflows/test.yml) manifest file for an example where pull requests to master are deployed to `stage` and a merge to `master` to `prod`.
15
+
Check the [build.yml](./.github/workflows/build.yml) manifest file for an example where pull requests to master are deployed to `stage` and a merge to `master` to `prod`.
0 commit comments