-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy path.travis.yml
29 lines (29 loc) · 978 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
services:
- docker
sudo: true
script:
- docker run --rm --volume="$PWD:/srv/jekyll" jekyll/jekyll:$JEKYLL_VERSION /bin/bash -c "chmod a+wx . && jekyll build -V"
addons:
ssh_known_hosts: ssh-sudweb.alwaysdata.net
before_deploy:
- openssl aes-256-cbc -K $encrypted_913e2c12d44b_key -iv $encrypted_913e2c12d44b_iv -in deploy_rsa.enc -out deploy_rsa -d
- eval "$(ssh-agent -s)"
- chmod 600 $TRAVIS_BUILD_DIR/deploy_rsa
- ssh-add $TRAVIS_BUILD_DIR/deploy_rsa
after_deploy:
- ssh-agent -k
#install: exit 0
deploy:
provider: script
skip_cleanup: true
script: rsync -r --delete-after --quiet --exclude '.ssh' $TRAVIS_BUILD_DIR/_site/2019/
[email protected]:/home/sudweb/www/2019/
on:
branch: master
env:
global:
- JEKYLL_VERSION=3.8
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true
- WEEZEVENT_EVENT_ID=218160
before_install:
- openssl aes-256-cbc -K $encrypted_913e2c12d44b_key -iv $encrypted_913e2c12d44b_iv -in deploy_rsa.enc -out deploy_rsa -d