-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
44 lines (44 loc) · 1.2 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
name: 'Pinata pin and gateway management'
description: 'Manage your pinata pins and default gateway index'
author: 'n4n0'
branding:
icon: 'cloud'
color: 'purple'
inputs:
path:
description: 'Path to file or directory you want to pin (string)'
required: true
default: ./dist
secret:
description: 'Your Pinata secret (string)'
required: true
key:
description: 'Your Pinata API key (string)'
required: true
token:
description: 'Your Pinata JWT (string)'
required: true
pinName:
description: 'Name of the pinned file (string)'
required: true
default: 'super cool ipfs pin'
unpinOld:
description: 'Whether or not to unpin an older pin with the same name (boolean)'
required: false
default: 'false'
gatewayName:
description: 'The name of your target gateway (string)'
required: true
gatewayId:
description: 'The Pinata internal Id of your gateway (string)'
required: true
outputs:
gateway:
description: 'Returns the new gateway address of a successful pin'
cid:
description: 'Returns the CID of the built codebase'
duplicate:
description: 'Returns true if the pin was skipped'
runs:
using: 'node16'
main: 'dist/index.js'