-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from SkynetLabs/advanced-directory-upload-options
support for try-files and not-found-page
- Loading branch information
Showing
3 changed files
with
53 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,42 @@ | ||
name: 'Skynet Deploy' | ||
description: 'Deploy your static webapp to Skynet' | ||
name: "Skynet Deploy" | ||
description: "Deploy your static webapp to Skynet" | ||
branding: | ||
icon: 'cloud' | ||
color: 'green' | ||
icon: "cloud" | ||
color: "green" | ||
inputs: | ||
upload-dir: | ||
description: 'Directory to upload' | ||
description: "Directory to upload" | ||
required: true | ||
github-token: | ||
description: 'Github token used for including the skylink url in pull request' | ||
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)' | ||
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' | ||
description: "Registry datakey to use when updating the registry entry" | ||
required: true | ||
default: 'skylink.txt' | ||
default: "skylink.txt" | ||
portal-url: | ||
description: 'Skynet portal api url' | ||
description: "Skynet portal api url" | ||
required: true | ||
default: 'https://siasky.net' | ||
default: "https://siasky.net" | ||
outputs: | ||
skylink: | ||
description: 'Uploaded resource skylink' | ||
description: "Uploaded resource skylink" | ||
skylink-url: | ||
description: 'Uploaded resource skylink url' | ||
description: "Uploaded resource skylink url" | ||
resolver-skylink: | ||
description: 'Resolver skylink pointing to uploaded resource' | ||
description: "Resolver skylink pointing to uploaded resource" | ||
resolver-skylink-url: | ||
description: 'Resolver skylink url (as a subdomain)' | ||
description: "Resolver skylink url (as a subdomain)" | ||
runs: | ||
using: 'node12' | ||
using: "node12" | ||
main: index.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters