🐛 fix pin script
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
James Walker 2023-02-04 22:26:09 -05:00
parent 8b3a587fa9
commit d0e793b1c0
Signed by: walkah
GPG Key ID: 3C127179D6086E93

5
pin.sh
View File

@ -17,8 +17,9 @@ root_cid=$(ipfs-cluster-ctl \
--local \ --local \
$PLUGIN_EXTRA_ARGS \ $PLUGIN_EXTRA_ARGS \
"$PLUGIN_PATH" ) || { "$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 "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 "FAILED to pin" echo "$root_cid" 1>&2
echo "Failed to pin to cluster" 1>&2
false false
} }
echo "Deployed: $root_cid" echo "Deployed: $root_cid"