-
Notifications
You must be signed in to change notification settings - Fork 10
/
action.yml
46 lines (43 loc) · 1.34 KB
/
action.yml
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
name: 'Build and deploy a Compute project'
author: Fastly
description: 'Build and deploy a Compute package using the Fastly CLI.'
branding:
icon: 'cloud-lightning'
color: 'red'
inputs:
project_directory:
description: 'Directory of the project to deploy, relative to the repository root.'
required: false
default: './'
cli_version:
description: 'The version of the Fastly CLI to install, e.g. v0.20.0'
required: false
default: 'latest'
viceroy_version:
description: 'The version of Viceroy to install, e.g. v0.1.0'
required: false
default: 'latest'
service_id:
description: 'The Fastly service ID to deploy to. Defaults to the value in fastly.toml'
required: false
default: 'default'
comment:
description: 'An optional comment to be included with the deployed service version.'
required: false
default: ''
version:
description: 'Version to clone from, if deploying. Can be "latest", "active", or the number of a specific version'
required: false
default: ''
verbose:
description: 'Set to true to enable verbose logging'
required: false
default: 'false'
token:
description: 'The GitHub token to use when interacting with the GitHub API'
required: false
runs:
using: node20
pre: setup/dist/index.js
main: build/dist/index.js
post: deploy/dist/index.js