Commit 8b63e69d authored by Michał "rysiek" Woźniak's avatar Michał "rysiek" Woźniak 🔒

bugfix 2

parent f8f0d5b5
Pipeline #46067 passed with stage
in 2 minutes and 27 seconds
......@@ -39,7 +39,7 @@ samizdat-is-deploy:
# make the favicon available in the main directory
- cp img/favicon.ico ./
# add everything to ipfs
- $CI_PROJECT_DIR/node_modules/go-ipfs/bin/ipfs --api=/ip4/$( getent hosts ipfs | cut -d ' ' -f 1 )/tcp/5001 add --progress=false -r ./ | sed -r -e "s/ $(basename $PWD)\// /" | tee "$SAMIZDAT_TEMP"
- $CI_PROJECT_DIR/node_modules/go-ipfs/bin/ipfs --api=/ip4/$( getent hosts ipfs | cut -d ' ' -f 1 )/tcp/5001 add --progress=false -r ./ | sed -r -e "s/ $(basename $PWD)\/?/ /" | tee "$SAMIZDAT_TEMP"
# publish stuff to IPNS
- $CI_PROJECT_DIR/node_modules/go-ipfs/bin/ipfs --api=/ip4/$( getent hosts ipfs | cut -d ' ' -f 1 )/tcp/5001 name publish "$( tail -n 1 $SAMIZDAT_TEMP | cut -f 2 -d ' ' )"
# remove the favicon
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment