podcast-webseite/.travis.yml
2020-01-28 09:49:37 +01:00

18 lines
525 B
YAML

language: python
python: 3.6
git:
lfs_skip_smudge: true
cache:
directories:
- $HOME/.cache/pip
- .git/lfs
before_install:
- git lfs pull
install:
- "pip install Lektor"
- make build
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"