diff --git a/.drone.yml b/.drone.yml index 879f21d..c8d1ed4 100644 --- a/.drone.yml +++ b/.drone.yml @@ -27,8 +27,18 @@ trigger: - master steps: + - name: generate-thumbnails + images: zavolab/imagemagick + volumes: + - name: thumbnails + path: /drone/src/images/thumbnails + commands: + - ./scripts/process-images.sh - name: deploy image: drillster/drone-rsync + volumes: + - name: thumbnails + path: /drone/src/images/thumbnails settings: hosts: - jshaver.net @@ -54,8 +64,18 @@ trigger: - push steps: + - name: generate-thumbnails + images: zavolab/imagemagick + volumes: + - name: thumbnails + path: /drone/src/images/thumbnails + commands: + - ./scripts/process-images.sh - name: deploy image: drillster/drone-rsync + volumes: + - name: thumbnails + path: /drone/src/images/thumbnails settings: hosts: - jshaver.net diff --git a/deploy-list.txt b/deploy-list.txt index 2e3f94e..7c00203 100644 --- a/deploy-list.txt +++ b/deploy-list.txt @@ -1,4 +1,4 @@ css/ -images/**/* +images/ js/ index.html