ipfs-node-pin/action.yaml

20 lines
421 B
YAML
Raw Normal View History

2024-01-06 12:54:39 +00:00
# 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"