This commit is contained in:
parent
a9a96aee94
commit
0fc5ba6a62
4
pin.sh
4
pin.sh
@ -4,6 +4,10 @@ set -e
|
||||
|
||||
HOST=${PLUGIN_CLUSTER_HOST:-"/dns4/cluster.walkah.cloud"}
|
||||
|
||||
if [ ! -x ${PLUGIN_DEBUG} ]; then
|
||||
echo "ipfs-cluster-ctl --host ${HOST} --basic-auth ${PLUGIN_CLUSTER_USER}:${PLUGIN_CLUSTER_PASSWORD} ${PLUGIN_CLUSTER_ARGS} add --quieter --cid-version 1 --name ${PLUGIN_DOMAIN} --recursive --local ${PLUGIN_EXTRA_ARGS} ${PLUGIN_PATH}"
|
||||
fi
|
||||
|
||||
# pin to cluster
|
||||
root_cid=$(ipfs-cluster-ctl \
|
||||
--host ${HOST} \
|
||||
|
Loading…
x
Reference in New Issue
Block a user