Skip to content

Commit

Permalink
deprecate jwt
Browse files Browse the repository at this point in the history
  • Loading branch information
dghelm committed Mar 29, 2022
1 parent 1bfd5a4 commit 0e85fd3
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 23 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
42 changes: 21 additions & 21 deletions action.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 0e85fd3

Please sign in to comment.