Verified Commit 2984cff0 authored by Ingo Pfennigstorf's avatar Ingo Pfennigstorf 💅
Browse files

Prepare domain switch

parent fadba8f3
Pipeline #8205 passed with stage
in 1 minute and 33 seconds
......@@ -15,6 +15,7 @@ test:
- test
except:
- master
- domain
pages:
stage: deploy
......@@ -26,3 +27,16 @@ pages:
only:
- master
gwdg:
stage: deploy
script:
- bundle exec jekyll build -d public
- apt-get update -yqq && apt-get install -yqq lftp
- 'which ssh-agent || ( apt-get install openssh-client -y )'
- mkdir -p ~/.ssh
- eval $(ssh-agent -s)
- '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
- lftp -c "mirror -R public/ sftp://$GWDG_USERNAME:$GWDG_PASSWORD@vwebfile.gwdg.de:2222/www/lab"
artifacts:
paths:
- public
......@@ -5,7 +5,7 @@ paginate: 100 # it will paginate after this number
language: 'en-uk'
# edit baseurl to simply '/' if using as your personal page (instead of a project page)
baseurl: /lab.sub/
baseurl: /
# Website info
title: lab.sub
......@@ -14,7 +14,7 @@ cover: assets/images/blog-cover.jpg
logo: assets/images/sub-goettingen-white-small.svg
logo_dark: assets/images/favicon.png
favicon: assets/images/favicon.png
production_url: https://subugoe.pages.gwdg.de/lab.sub/
production_url: https://lab.sub.uni-goettingen.de
source_url: https://gitlab.gwdg.de/subugoe/lab.sub/
source_branch: master
......
......@@ -4,7 +4,7 @@
<section class="copyright">
<a href="{{ site.url }}{{ site.baseurl }}">SUB Göttingen</a> &copy; {{ site.time | date: '%Y' }}
|
<a class="cc-by-4" href="https://creativecommons.org/licenses/by/4.0/"><img src="{{ site.url }}{{ site.baseurl }}/assets/images/cc.svg"/><img src="{{ site.url }}{{ site.baseurl }}assets/images/by.svg"/></a>
<a class="cc-by-4" href="https://creativecommons.org/licenses/by/4.0/"><img src="{{ site.url }}{{ site.baseurl }}assets/images/cc.svg"/><img src="{{ site.url }}{{ site.baseurl }}assets/images/by.svg"/></a>
<br/>
<a href="https://www.sub.uni-goettingen.de/impressum/">Imprint</a>
</section>
......
Supports Markdown
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