blog/.travis.yml
2017-10-08 15:31:57 +01:00

18 lines
483 B
YAML

language: node_js
node_js:
- '8'
before_install:
- openssl aes-256-cbc -K $encrypted_7f1476ad54d9_key -iv $encrypted_7f1476ad54d9_iv
-in .travis/deploy.key.enc -out .travis/deploy.key -d
- eval "$(ssh-agent -s)"
- chmod 600 .travis/deploy.key
- ssh-add .travis/deploy.key
- ssh-keyscan marcusnoble.co.uk >> ~/.ssh/known_hosts
- git remote add dokku dokku@marcusnoble.co.uk:blog
- git config --global push.default simple
script:
- git push dokku master
branches:
only:
- master