Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Michał "rysiek" Woźniak
samizdat
Commits
8b63e69d
Commit
8b63e69d
authored
Sep 16, 2020
by
Michał "rysiek" Woźniak
🔒
Browse files
bugfix 2
parent
f8f0d5b5
Pipeline
#46067
passed with stage
in 2 minutes and 27 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
8b63e69d
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment