blog/.travis.yml

15 lines
454 B
YAML
Raw Normal View History

2017-10-08 13:49:23 +00:00
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