From a762b8b6fe43efbb355275661f38e65e62bad183 Mon Sep 17 00:00:00 2001 From: Mats Rauhala Date: Fri, 26 Nov 2021 23:40:33 +0200 Subject: [PATCH] Build first --- support/deploy-rauhala-info.sh | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/support/deploy-rauhala-info.sh b/support/deploy-rauhala-info.sh index 9887a1a..3787624 100755 --- a/support/deploy-rauhala-info.sh +++ b/support/deploy-rauhala-info.sh @@ -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() {