diff --git a/invent/websites-jekyll.yml b/invent/websites-jekyll.yml index c96e5e1..0d68008 100644 --- a/invent/websites-jekyll.yml +++ b/invent/websites-jekyll.yml @@ -1,22 +1,22 @@ -image: ruby:2.3 +image: ruby:2.6 cache: paths: - vendor/ before_script: - apt-get update -y && apt-get install openssh-client rsync -y - eval $(ssh-agent -s) - echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - > /dev/null - 'mkdir -p ~/.ssh && chmod 700 ~/.ssh' - echo "$OLIOS_SSH_HOST_KEYS" >> ~/.ssh/known_hosts - chmod 644 ~/.ssh/known_hosts - bundle install --path vendor pages: stage: deploy script: - bundle exec jekyll build -d public - rsync -Hav --delete public/ "sitedeployer@olios.kde.org:/srv/www/generated/$WEBSITE_DIR/" only: - master