From fdfc638810e10e4ef9f868929c1ce8c63a228a65 Mon Sep 17 00:00:00 2001 From: L3D Date: Sun, 4 Nov 2018 23:51:22 +0100 Subject: [PATCH] Add Travis Autodeploy Former-commit-id: e6ea7f1b6b4c529784dd8843ee29a9cb370c0e04 [formerly 9385a6eec4b4f19c39fd625a063e8f0207292ff4] [formerly 4fb3b864e8755ae1fa28f80d33d4ad455912312d [formerly a73a49fd3e0d0dc6607c3e39ffa061e8ee9c1a4e]] Former-commit-id: b617c06e9986c18ca2a472203799097ac6eb7979 [formerly e280afef746a97f70041e6d699216afa82b44570] Former-commit-id: 4b4c0bfb1b6506ab196b2712a345b479bcededc6 --- .travis.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..941ca71 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,12 @@ +language: python +python: 3.6 +cache: + directories: + - $HOME/.cache/pip + - $HOME/.cache/lektor/builds +install: "pip install Lektor" +script: "lektor build" +before_deploy: "echo 'c3woc.de ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBC5NslYj+wtriBuKIxJfDRm9E2hnlstWR8durQ6pKvVvP7wjcoXIyAxe41GvJ9SoEhSjF7oVlzlw+zAkzl5WOZ4=' > ~/.ssh/known_hosts" +deploy: + provider: script + script: "lektor deploy --key $LEKTOR_DEPLOY_KEY c3woc"