-
Notifications
You must be signed in to change notification settings - Fork 7
/
.travis.yml
32 lines (32 loc) · 2.88 KB
/
.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
30
31
32
dist: xenial
sudo: required
language: node_js
node_js:
- lts/*
install:
- wget "https://github.com/gohugoio/hugo/releases/download/v${HUGO_RELEASE}/hugo_extended_${HUGO_RELEASE}_Linux-64bit.deb"
- sudo dpkg -i hugo*.deb
script:
- hugo version
- hugo --minify
before_install:
- openssl aes-256-cbc -K $encrypted_a77e66116c83_key -iv $encrypted_a77e66116c83_iv
-in deploy_rsa.enc -out /tmp/deploy_rsa -d
- eval "$(ssh-agent -s)"
- chmod 600 /tmp/deploy_rsa
- ssh-add /tmp/deploy_rsa
- echo -e "Host ${DEPLOY_HOST}\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
- echo -e "Port 7685" >> ~/.ssh/config
deploy:
provider: script
skip-cleanup: true
script: rsync -r --quiet --delete-after ${TRAVIS_BUILD_DIR}/public/* ${DEPLOY_USER}@${DEPLOY_HOST}:${DEPLOY_DIRECTORY}
on:
branch: master
env:
global:
- PRODUCTION=true
- HUGO_RELEASE=0.55.6
- secure: Xi5/1Xt4qV9z59RvYPKYROT7YCJKakxQ30CkE6ILuI7aO8lqV4CzFBAX1o9V2Axjc9hv/SxGro7hrdbyjw9FqEbaINCrbJ1z/6HbTzGY9EbRBhEVE8v0HcJghW9MkuoInSBVbVlmcfOeIBu2yBhnX8YQP3dNmg1UwjAccMuDWqoXr0b7u2STEZOtQYD3eJ3DcXCym4ccBO6pldJbceqWj/PLx4IyWcbNy5+ZDnxRA1PRwnz7bkZL465C4Zx9wA5WWmRQ/Dntv5xsCfcNcR3sSFRCa/2c0Z0753V3DwKGFZEGI/IozvIPzHj4XmHisQeyafGRlgtxhdbOJWT7W/nlxBWffTkAAQmPsvIoJC4igL9iAE2a0M9rI4XZojwj1XzseUL8MlFFxlFiHEv4M+XaHDli4D02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