Commit 06d7e2da authored by Andreas Böttger's avatar Andreas Böttger 😬
Browse files

Merge branch '6-urls-der-bilder-in-den-gitbooks' into 'development'

Resolve "URLs der Bilder in den GitBooks"

See merge request !19
parents 6177a6b6 b0571ca7
Pipeline #33321 failed with stages
in 2 minutes and 25 seconds
......@@ -87,6 +87,7 @@ build_pages:
jq -r --arg pluginsConfig__downloadpdf_base "/${CI_PROJECT_PATH}/~${CI_COMMIT_REF_NAME}/book_pdf/book.pdf?/" '.pluginsConfig.downloadpdf.base |= $pluginsConfig__downloadpdf_base' book.json | sponge book.json;
fi;
if [ -f book.json ]; then cat book.json; fi;
grep -rlP '\.\.\/abb\/' . | xargs -I% perl -pe 's/(\().*?(abb)/$1\/static\/reader\/$2/gm' %
gitbook install;
gitbook build
)
......@@ -101,6 +102,7 @@ build_pages:
jq -r --arg pluginsConfig__downloadpdf_base "/${CI_PROJECT_PATH}/~${CI_COMMIT_REF_NAME}/book_pdf/book.pdf?/" '.pluginsConfig.downloadpdf.base |= $pluginsConfig__downloadpdf_base' book.json | sponge book.json;
fi;
if [ -f book.json ]; then cat book.json; fi;
grep -rlP '\.\.\/abb\/' . | xargs -I% perl -pe 's/(\().*?(abb)/$1\/static\/studyreader\/$2/gm' %
gitbook install;
gitbook build;
)
......@@ -188,6 +190,7 @@ deploy_registry:
deploy_live:
stage: live
script:
- echo ${CONTAINER_RELEASE_IMAGE}
- ssh flint.rz.tu-harburg.de -p 22 "sudo docker pull ${CONTAINER_RELEASE_IMAGE}"
- ssh flint.rz.tu-harburg.de -p 22 "sudo systemctl restart docker-itbh--hop-on--fahrplan"
tags:
......
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