-
Notifications
You must be signed in to change notification settings - Fork 5
/
action.yml
48 lines (48 loc) · 1.75 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
47
48
name: "Deploy to Skynet"
description: "Deploy your static webapp to Skynet"
branding:
icon: "cloud"
color: "green"
inputs:
upload-dir:
description: "Directory to upload"
required: true
github-token:
description: "Github token used for including the skylink url in pull request"
required: true
try-files:
description: "Define a list of space separated files that portal should try to serve in if uri points to a directory"
required: false
default: "index.html"
not-found-page:
description: "Define a path to a file that will replace the default 404 Not Found error page"
required: false
registry-seed:
description: "Seed that generates registry private key (optional, only if you want to update the registry entry with skylink)"
required: false
registry-datakey:
description: "Registry datakey to use when updating the registry entry"
required: true
default: "skylink.txt"
portal-url:
description: "Skynet portal api url"
required: true
default: "https://siasky.net"
skynet-api-key:
description: "Portal account private API key used for association uploads with a specific account. Also used to allow uploads larger than 1GB or access account-only portals."
required: false
skynet-jwt:
description: "Deprecated. Portal account JWT used for associating uploads with a specific account. Also used to allow uploads larger than 1GB."
required: false
outputs:
skylink:
description: "Uploaded resource skylink"
skylink-url:
description: "Uploaded resource skylink url"
resolver-skylink:
description: "Resolver skylink pointing to uploaded resource"
resolver-skylink-url:
description: "Resolver skylink url (as a subdomain)"
runs:
using: "node16"
main: "dist/index.js"