2018-11-04 23:51:22 +01:00
|
|
|
language: python
|
|
|
|
python: 3.6
|
2019-02-15 11:38:25 +01:00
|
|
|
git:
|
|
|
|
lfs_skip_smudge: true
|
2018-11-04 23:51:22 +01:00
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- $HOME/.cache/pip
|
2019-02-15 11:38:25 +01:00
|
|
|
before_install:
|
|
|
|
- git lfs pull
|
2019-04-03 19:26:41 +02:00
|
|
|
- make install-sassc
|
2019-02-15 22:55:11 +01:00
|
|
|
install:
|
|
|
|
- "pip install Lektor"
|
2019-02-15 11:38:25 +01:00
|
|
|
- make sass
|
2018-11-04 23:51:22 +01:00
|
|
|
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"
|