lets actually build the thumbnails
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
This commit is contained in:
parent
3541364810
commit
9cd2bc7fbc
2 changed files with 21 additions and 1 deletions
20
.drone.yml
20
.drone.yml
|
@ -27,8 +27,18 @@ trigger:
|
||||||
- master
|
- master
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- name: generate-thumbnails
|
||||||
|
images: zavolab/imagemagick
|
||||||
|
volumes:
|
||||||
|
- name: thumbnails
|
||||||
|
path: /drone/src/images/thumbnails
|
||||||
|
commands:
|
||||||
|
- ./scripts/process-images.sh
|
||||||
- name: deploy
|
- name: deploy
|
||||||
image: drillster/drone-rsync
|
image: drillster/drone-rsync
|
||||||
|
volumes:
|
||||||
|
- name: thumbnails
|
||||||
|
path: /drone/src/images/thumbnails
|
||||||
settings:
|
settings:
|
||||||
hosts:
|
hosts:
|
||||||
- jshaver.net
|
- jshaver.net
|
||||||
|
@ -54,8 +64,18 @@ trigger:
|
||||||
- push
|
- push
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- name: generate-thumbnails
|
||||||
|
images: zavolab/imagemagick
|
||||||
|
volumes:
|
||||||
|
- name: thumbnails
|
||||||
|
path: /drone/src/images/thumbnails
|
||||||
|
commands:
|
||||||
|
- ./scripts/process-images.sh
|
||||||
- name: deploy
|
- name: deploy
|
||||||
image: drillster/drone-rsync
|
image: drillster/drone-rsync
|
||||||
|
volumes:
|
||||||
|
- name: thumbnails
|
||||||
|
path: /drone/src/images/thumbnails
|
||||||
settings:
|
settings:
|
||||||
hosts:
|
hosts:
|
||||||
- jshaver.net
|
- jshaver.net
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
css/
|
css/
|
||||||
images/**/*
|
images/
|
||||||
js/
|
js/
|
||||||
index.html
|
index.html
|
||||||
|
|
Loading…
Reference in a new issue