Commit 1c5b25c0 authored by Bhushan Shah's avatar Bhushan Shah

Use template for the plasma-mobile.org

parent a76681de
image: ruby:2.3
include: 'https://invent.kde.org/sysadmin/ci-tooling/raw/master/invent/websites-jekyll.yml'
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'
- ssh-keyscan olios.kde.org >> ~/.ssh/known_hosts
- chmod 644 ~/.ssh/known_hosts
- bundle install --path vendor
variables:
WEBSITE_DIR: plasma-mobile.org
pages:
stage: deploy
......@@ -19,6 +9,4 @@ pages:
- bundle exec pluto update planet.ini
- bundle exec build.rb
- bundle exec jekyll build -d public
- rsync -Hav --delete public/ sitedeployer@olios.kde.org:/srv/www/generated/plasma-mobile.org/
only:
- master@websites/plasma-mobile-org
- rsync -Hav --delete public/ "sitedeployer@olios.kde.org:/srv/www/generated/$WEBSITE_DIR/"
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