Skip to content

Instantly share code, notes, and snippets.

@tmcw tmcw/
Created May 20, 2019

What would you like to do?
ipfs daemon &
echo "Jekyll building…"
bundle exec jekyll build
cd _site
hash=`ipfs add -r -q . | tail -1`
echo "Root hash: ${hash}"
echo "Pinning…"
ssh -t pi@raspberrypi.local "ipfs pin add $hash"
echo "Pinned."
kill $PID1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.