Build first

This commit is contained in:
Mats Rauhala 2021-11-26 23:40:33 +02:00
parent 394a511187
commit a762b8b6fe

View File

@ -2,16 +2,13 @@
set -e
if [ ! -d _site ]; then
echo "No _site detected"
exit 1
fi
nix build .#rauhala-info
API=/ip4/127.0.0.1/tcp/5001
function upload() {
echo "Uploading.."
hash=$(ipfs --api $API add -r _site --pin=false -Q)
hash=$(ipfs --api $API add -r result/share --pin=false -Q)
}
function pin() {