20 lines
421 B
YAML
20 lines
421 B
YAML
|
# action.yml
|
||
|
name: "IPFS Node Pin"
|
||
|
description: "Pin a directory to an IPFS node using its HTTP API"
|
||
|
inputs:
|
||
|
ipfs_host:
|
||
|
description: "IPFS node host"
|
||
|
required: true
|
||
|
ipfs_port:
|
||
|
description: "IPFS node port"
|
||
|
required: true
|
||
|
path_to_add:
|
||
|
description: "Directory path to pin"
|
||
|
required: true
|
||
|
outputs:
|
||
|
cid:
|
||
|
description: "CID of pinned directory"
|
||
|
runs:
|
||
|
using: "docker"
|
||
|
image: "Dockerfile"
|