forked from qo-op/bunkerbox
## PUBLISHING qo-op_${CHANNEL} /ipns/$channelkey
This commit is contained in:
parent
ea78b17566
commit
7ee7923201
|
@ -267,9 +267,10 @@ echo "##########################################################################
|
||||||
# cp ~/.ipfs/keystore/${channelfilename} ~/.zen/bunkerbox/channels/${CHANNEL}/qo-op_${CHANNEL}.key
|
# cp ~/.ipfs/keystore/${channelfilename} ~/.zen/bunkerbox/channels/${CHANNEL}/qo-op_${CHANNEL}.key
|
||||||
|
|
||||||
echo $channelkey > ~/.zen/bunkerbox/channels/${CHANNEL}/channelkey
|
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)
|
TW5=$(ipfs add -Rwq ~/.zen/bunkerbox/channels/${CHANNEL}/* | tail -n 1)
|
||||||
ipfs name publish --key=qo-op_${CHANNEL} /ipfs/$TW5
|
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 "<meta http-equiv=\"refresh\" content=\"0;URL=/ipns/$channelkey\">" > ~/.zen/bunkerbox/homepage/${CHANNEL}/index.html
|
||||||
echo "DONE ###"
|
echo "DONE ###"
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue