blog/.travis.yml
2017-10-08 14:53:57 +01:00

15 lines
454 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