Add Travis Autodeploy

Former-commit-id: e6ea7f1b6b4c529784dd8843ee29a9cb370c0e04 [formerly 9385a6eec4b4f19c39fd625a063e8f0207292ff4] [formerly 4fb3b864e8755ae1fa28f80d33d4ad455912312d [formerly a73a49fd3e0d0dc6607c3e39ffa061e8ee9c1a4e]]
Former-commit-id: b617c06e9986c18ca2a472203799097ac6eb7979 [formerly e280afef746a97f70041e6d699216afa82b44570]
Former-commit-id: 4b4c0bfb1b6506ab196b2712a345b479bcededc6
This commit is contained in:
L3D 2018-11-04 23:51:22 +01:00 committed by L3D
parent 5d63bb39ef
commit fdfc638810

12
.travis.yml Normal file
View file

@ -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"