diff --git a/README.md b/README.md index 089bfe7..6587646 100644 --- a/README.md +++ b/README.md @@ -59,9 +59,9 @@ Portal account private API key used for associating uploads with a specific acco ### `skynet-jwt` -**USE GITHUB SECRET - DO NOT COMMIT THIS IN PLAIN TEXT** +_(**Deprecated.** Use `skynet-api-key` instead.)_ -_(`skynet-api-key` is now the recommended over `skynet-jwt`)_ +**USE GITHUB SECRET - DO NOT COMMIT THIS IN PLAIN TEXT** Portal account JWT used for associating uploads with a specific account. Also used to allow uploads larger than 1GB or access account-only portals. [Obtaining your JWT.](https://docs.siasky.net/developer-guides/server-hosted-skynet-usage#obtaining-your-jwt) diff --git a/action.yml b/action.yml index c1cbcdd..884ef96 100644 --- a/action.yml +++ b/action.yml @@ -1,48 +1,48 @@ -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" + 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" + default: 'index.html' not-found-page: - description: "Define a path to a file that will replace the default 404 Not Found error 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' 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." + 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: "Portal account JWT used for associating uploads with a specific account. Also used to allow uploads larger than 1GB." + 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" + 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