forked from ipfs-shipyard/ipfs-github-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
39 lines (39 loc) · 994 Bytes
/
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
# action.yml
name: "Add to IPFS"
description: "Pin a directory to an IPFS Cluster"
author: olizilla
branding:
icon: "box"
color: "blue"
inputs:
path_to_add:
description: "Directory path to add to IPFS"
required: true
cluster_user:
description: "Username for the IPFS Cluster instance"
required: false
cluster_password:
description: "Password for the IPFS Cluster instance"
required: false
cluster_host:
description: "Multiaddr for the IPFS Cluster"
default: "/dnsaddr/cluster.ipfs.io"
required: true
wait_for_pin:
description: "Wait until data become pinned"
default: false
required: false
ipfs_gateway:
description: "IPFS subdomain gateway to use for preview url"
default: "gateway.ipfs.cybernode.ai"
required: true
outputs:
cid:
description: "The IPFS Content ID for the directory"
url:
description: "Preview URL"
runs:
using: "docker"
image: "Dockerfile"
# args:
# - ${{ inputs.path_to_add }}