Build first
This commit is contained in:
parent
394a511187
commit
a762b8b6fe
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user