Skip to content
Snippets Groups Projects
Commit c482b4d5 authored by Malte Schmitz's avatar Malte Schmitz
Browse files

Switch to ruby image with locales and rsync

parent e57f0da8
No related branches found
No related tags found
No related merge requests found
Pipeline #2228 passed
image: ruby:2.6.6
image: malteschmitz/ruby:2.6.6
# Cache modules in between jobs
cache:
......@@ -28,11 +28,6 @@ before_script:
# instead.
- mkdir -p ~/.ssh
- '[[ -f /.dockerenv ]] && echo "$SSH_SERVER_HOSTKEY" > ~/.ssh/known_hosts'
# Fix missing locales
- apt-get update -y && apt-get install locales -y
- echo 'en_US.UTF-8 UTF-8' >> /etc/locale.gen
- locale-gen
deploy:
only:
......@@ -40,6 +35,6 @@ deploy:
tags:
- docker
script:
- env LANG=en_US.UTF-8 bundle install --path=vendor/
- env LANG=en_US.UTF-8 bundle exec jekyll build
- bundle install --path=vendor/
- bundle exec jekyll build
- rsync -av --delete-after _site/ chaotikum-org@[2a01:4f8:160:3067::a]:_site/
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment