Commit 7b8a25c5 authored by Bhushan Shah's avatar Bhushan Shah

attempt to deploy

parent 568712f6
......@@ -5,6 +5,12 @@ cache:
- vendor/
before_script:
- 'which ssh-agent || ( 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
pages:
......@@ -13,8 +19,6 @@ pages:
- bundle exec pluto update planet.ini
- bundle exec build.rb
- bundle exec jekyll build -d public
artifacts:
paths:
- public
- rsync -Hav --delete public/ sitedeployer@olios.kde.org:/srv/www/generated/plasma-mobile.org/"
only:
- master
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