-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yml
More file actions
30 lines (30 loc) · 879 Bytes
/
action.yml
File metadata and controls
30 lines (30 loc) · 879 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: "Metablock Action"
description: "Make a new deployment into metablock cloud"
inputs:
token:
description: "Metablock API token - can be set via the METABLOCK_API_TOKEN env variable"
block:
description: "Metablock Block ID - can be set via the METABLOCK_BLOCK_ID env variable"
bundle:
description: "Filesystem location of the bundle to deploy"
default: "./dist"
env:
description: "Metablock environment - can be set via the METABLOCK_ENV env variable"
default: "stage"
name:
description: "Optional deployment name - can be set via the METABLOCK_NAME env variable"
runs:
using: "docker"
image: "Dockerfile"
args:
- metablock
- ship
- ${{ inputs.bundle }}
- "--token"
- ${{ inputs.token }}
- "--block-id"
- ${{ inputs.block }}
- "--env"
- ${{ inputs.env }}
- "--name"
- ${{ inputs.name }}