## PUBLISHING qo-op_${CHANNEL} /ipns/$channelkey

This commit is contained in:
fred 2022-04-20 23:51:29 +02:00
parent ea78b17566
commit 7ee7923201
1 changed files with 2 additions and 1 deletions

View File

@ -267,9 +267,10 @@ echo "##########################################################################
# cp ~/.ipfs/keystore/${channelfilename} ~/.zen/bunkerbox/channels/${CHANNEL}/qo-op_${CHANNEL}.key
echo $channelkey > ~/.zen/bunkerbox/channels/${CHANNEL}/channelkey
echo "## PUBLISHING TIDDLYWIKI AND LINK IT into HOMEPAGE"
echo "## PUBLISHING qo-op_${CHANNEL} /ipns/$channelkey"
TW5=$(ipfs add -Rwq ~/.zen/bunkerbox/channels/${CHANNEL}/* | tail -n 1)
ipfs name publish --key=qo-op_${CHANNEL} /ipfs/$TW5
echo "LINK IT into HOMEPAGE "
echo "<meta http-equiv=\"refresh\" content=\"0;URL=/ipns/$channelkey\">" > ~/.zen/bunkerbox/homepage/${CHANNEL}/index.html
echo "DONE ###"
else