From 10010ced770e7d8bf50a94e05f364f4931d73df4 Mon Sep 17 00:00:00 2001 From: David Baumgold Date: Thu, 2 Jun 2016 16:37:41 -0700 Subject: [PATCH] Use Travis deployment Docs: https://docs.travis-ci.com/user/deployment/ --- .travis.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index b035cab6..5d96938f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,11 +5,15 @@ install: - "pip install git+https://github.com/lektor/lektor#egg=Lektor" script: - "lektor build" - - "test \"$TRAVIS_PULL_REQUEST\" == \"false\" && test \"$TRAVIS_BRANCH\" == \"master\" && lektor deploy production || exit 0" cache: directories: - $HOME/.cache/pip - $HOME/.cache/lektor/builds +deploy: + provider: script + script: lektor deploy production + on: + branch: master addons: ssh_known_hosts: flow.srv.pocoo.org