Compare commits

...

12 commits

Author SHA1 Message Date
John Shaver
318a1eaecd make the directory first, duh
Some checks failed
continuous-integration/drone/push Build is failing
2022-07-25 12:09:47 -07:00
John Shaver
9303b7bab5 where am I
Some checks failed
continuous-integration/drone/push Build is failing
2022-07-25 12:08:16 -07:00
John Shaver
a65e129f63 image not images
Some checks failed
continuous-integration/drone/push Build is failing
2022-07-25 12:05:51 -07:00
John Shaver
593ea443fa don't use latest since it's not working
Some checks reported errors
continuous-integration/drone/push Build encountered an error
2022-07-25 11:58:31 -07:00
John Shaver
9cd2bc7fbc lets actually build the thumbnails
Some checks reported errors
continuous-integration/drone/push Build encountered an error
2022-07-25 11:50:30 -07:00
John Shaver
3541364810 try again
Some checks failed
continuous-integration/drone/push Build is failing
2022-07-25 11:29:48 -07:00
John Shaver
64782f98af try the original again
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-25 11:21:54 -07:00
John Shaver
2b84bba85f Try just a basic wildcard
Some checks failed
continuous-integration/drone/push Build is failing
2022-07-25 11:20:09 -07:00
John Shaver
8357cb5376 This should definately work for now
Some checks failed
continuous-integration/drone/push Build is failing
2022-07-25 11:08:40 -07:00
John Shaver
483ff3324c maybe this is the right format?
Some checks failed
continuous-integration/drone/push Build is failing
2022-07-25 11:04:29 -07:00
John Shaver
d4763aaa18 maybe this will include sub-directories?
Some checks failed
continuous-integration/drone/push Build is failing
2022-07-25 10:57:35 -07:00
John Shaver
23103f5931 Testing drone CD
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-25 10:44:59 -07:00
3 changed files with 24 additions and 1 deletions

View file

@ -27,8 +27,20 @@ trigger:
- master - master
steps: steps:
- name: generate-thumbnails
image: zavolab/imagemagick:6.9.10
volumes:
- name: thumbnails
path: /drone/src/images/thumbnails
commands:
- pwd
- ls -la
- ./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 +66,18 @@ trigger:
- push - push
steps: steps:
- name: generate-thumbnails
image: zavolab/imagemagick:6.9.10
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

View file

@ -66,7 +66,6 @@
course data and then compared with skills job postings data for course data and then compared with skills job postings data for
relevant occupations.</p> relevant occupations.</p>
<h4>My Contributions</h4> <h4>My Contributions</h4>
<p>I worked on a 2-3 man team to build a prototype using netlify. We then <p>I worked on a 2-3 man team to build a prototype using netlify. We then
itterated on it in 3 phases. The prototype was successful enough itterated on it in 3 phases. The prototype was successful enough
that customers requested to pay to use it (although it chock full that customers requested to pay to use it (although it chock full

View file

@ -3,6 +3,8 @@
IMAGES_DIR="./images" IMAGES_DIR="./images"
WIDTH=320 WIDTH=320
mkdir -p ./images/thumbnails
for f in ./images/* for f in ./images/*
do do
case "$f" in case "$f" in