Commit 88b65372 authored by Andreas Böttger's avatar Andreas Böttger 😬
Browse files

Update .gitlab-ci.yml

parent 36b6eabb
Pipeline #33364 failed with stages
in 47 seconds
......@@ -134,18 +134,7 @@ build_pages:
)
- rm -rf ./templates/reader
- mv ./_raw/book/_book ./templates/reader
- |
(
# Language Verzeichnisse ermitteln und in den Pfad der Abbildungen integrieren
grep -rlP '\.\.\/abb\/' ./_raw/study-book | while read -r line; do
# NUR vier Sprachen werden berücksichtigt: de, en, fa, ar
if [ -n "$line" ]; then
export lang="$(echo "$line" | perl -pe 's!.*\/(de|en|fa|ar)\/.*!\1!g')"
echo "Processing $line"
perl -i -pe 's!(\().*?(abb)!$1/static/studyreader/$ENV{"lang"}/$2!gm' $line
fi
done
)
- grep -rlP '\.\.\/abb\/' ./_raw/study-book | while read -r line; do if [ -n "$line" ]; then export lang="$(echo "$line" | perl -pe 's!.*\/(de|en|fa|ar)\/.*!\1!g')"; echo "Processing $line"; perl -i -pe 's!(\().*?(abb)!$1/static/studyreader/$ENV{"lang"}/$2!gm' $line; fi; done
- |
(
cd ./_raw/study-book;
......
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