2017-12-25 20:24:33 +01:00
|
|
|
language: ruby
|
|
|
|
rvm:
|
|
|
|
- 2.3.3
|
|
|
|
addons:
|
2017-12-25 21:18:20 +01:00
|
|
|
ssh_known_hosts:
|
|
|
|
- wolf.uberspace.de
|
|
|
|
- 185.26.156.65
|
2017-12-25 20:24:33 +01:00
|
|
|
env:
|
|
|
|
global:
|
|
|
|
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true
|
|
|
|
sudo: false
|
2017-12-29 12:32:09 +01:00
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
2017-12-25 20:50:44 +01:00
|
|
|
cache: bundler
|
2017-12-29 10:00:55 +01:00
|
|
|
script: JEKYLL_ENV=production bundle exec jekyll build && bundle exec htmlproofer ./_site --disable-external
|
2017-12-25 20:24:33 +01:00
|
|
|
before_deploy:
|
|
|
|
- openssl aes-256-cbc -K $encrypted_518a90de15e0_key -iv $encrypted_518a90de15e0_iv
|
2017-12-25 20:46:54 +01:00
|
|
|
-in deploy_ed25519.enc -out /tmp/deploy_ed25519 -d
|
2017-12-25 20:24:33 +01:00
|
|
|
- eval "$(ssh-agent -s)"
|
|
|
|
- chmod 600 /tmp/deploy_ed25519
|
|
|
|
- ssh-add /tmp/deploy_ed25519
|
2017-12-25 21:05:47 +01:00
|
|
|
- chmod +x scripts/deploy.sh
|
2017-12-25 20:24:33 +01:00
|
|
|
deploy:
|
|
|
|
provider: script
|
|
|
|
skip_cleanup: true
|
2017-12-25 21:05:47 +01:00
|
|
|
script: scripts/deploy.sh
|
2017-12-25 20:24:33 +01:00
|
|
|
on:
|
2017-12-25 20:28:14 +01:00
|
|
|
branch:
|
2017-12-29 10:00:55 +01:00
|
|
|
- master
|