diff --git a/pin.sh b/pin.sh index eeafae5..ed3af5e 100755 --- a/pin.sh +++ b/pin.sh @@ -17,8 +17,9 @@ root_cid=$(ipfs-cluster-ctl \ --local \ $PLUGIN_EXTRA_ARGS \ "$PLUGIN_PATH" ) || { - echo "ipfs-cluster-ctl --host $HOST --basic-auth *** $PLUGIN_CLUSTER_ARGS add --quieter --local --wait --cid-version 1 --name $PLUGIN_DOMAIN --recursive $PLUGIN_PATH" - echo "FAILED to pin" + echo "ipfs-cluster-ctl --host $HOST --basic-auth *** $PLUGIN_CLUSTER_ARGS add --quieter --local --cid-version 1 --name $PLUGIN_DOMAIN --recursive $PLUGIN_PATH" 1>&2 + echo "$root_cid" 1>&2 + echo "Failed to pin to cluster" 1>&2 false } echo "Deployed: $root_cid"