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

Update .gitlab-ci.yml

parent a1bd66ee
Pipeline #34628 passed with stages
in 3 minutes and 48 seconds
......@@ -47,22 +47,9 @@ clone_pages:
script:
- |
set -x
set -e
ssh-agent bash -c '
ssh-keygen -l -E md5 -f ~/.ssh/id_rsa_hopon-buch
ssh-add ~/.ssh/id_rsa_hopon-buch;
git clone -b master git@collaborating.tuhh.de:itbh/hopon/book.git ./_raw/book;
if [ -n "${BOOK_BRANCH}" ]; then
git -C ./_raw/book checkout "${BOOK_BRANCH}";
elif git -C ./_raw/book ls-remote --heads --exit-code origin "${CI_COMMIT_REF_NAME}"; then
git -C ./_raw/book checkout "${CI_COMMIT_REF_NAME}";
fi
'
- git -C ./_raw/book branch | cat
- |
set -x
set -e
ssh-agent bash -c '
set -x
set -e
ssh-add ~/.ssh/id_rsa_hopon-studybuch;
ssh-keygen -l -E md5 -f ~/.ssh/id_rsa_hopon-studybuch
git clone -b master git@collaborating.tuhh.de:itbh/hopon/study-book.git ./_raw/study-book;
......@@ -72,7 +59,22 @@ clone_pages:
git -C ./_raw/study-book checkout "${CI_COMMIT_REF_NAME}";
fi
'
- git branch | cat
- git -C ./_raw/study-book branch | cat
- |
set -x
ssh-agent bash -c '
set -x
set -e
ssh-add ~/.ssh/id_rsa_hopon-buch;
ssh-keygen -l -E md5 -f ~/.ssh/id_rsa_hopon-buch
git clone -b master git@collaborating.tuhh.de:itbh/hopon/book.git ./_raw/book;
if [ -n "${BOOK_BRANCH}" ]; then
git -C ./_raw/book checkout "${BOOK_BRANCH}";
elif git -C ./_raw/book ls-remote --heads --exit-code origin "${CI_COMMIT_REF_NAME}"; then
git -C ./_raw/book checkout "${CI_COMMIT_REF_NAME}";
fi
'
- git -C ./_raw/book branch | cat
# Zuerst die PDFs, da im Job `pages` die URLs der Abbildungen geändert werden
build_pdf:
......
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