generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
29 lines (28 loc) · 871 Bytes
/
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
name: 'Tangro Deploy'
description: 'Deploy a zip file containing a static site to the tangro static server'
author: 'ankri'
inputs:
context:
description: 'Choose the context for the deployment. Either "branch", "sha" or "auto"'
default: 'branch'
zip-file:
description: 'The path to the zip-file'
required: true
deploy-url:
description: 'The URL of the API endpoint'
required: true
project:
description: 'The name of the project/step/site e.g. coverage or styleguide'
required: true
set-status:
description: 'When true set the status after the site has been deployed'
default: true
create-deployment:
description: 'When true the action also creates a deployment'
default: false
outputs:
deployed-url:
description: The URL for the newly deployed static site
runs:
using: 'node20'
main: 'dist/index.js'