andersdamsgaard.com

my photography webpage
git clone git://src.adamsgaard.dk/andersdamsgaard.com # fast
git clone https://src.adamsgaard.dk/andersdamsgaard.com.git # slow
Log | Files | Refs | Submodules | README | LICENSE Back to index

commit c90fc92b59b6c6d385602c8d786e148add1c9d90
parent fe549d577987cb1c8b6e4d81308fabe6eefa7180
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Sun,  4 Nov 2018 21:31:38 +0100

Do not remove resize, fill, or fit images

Diffstat:
MMakefile | 11+++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile @@ -18,7 +18,10 @@ deploy-staging: # remove unprocessed images find public/ \ -name '.DS_Store' \ - -name '*.jpg' -not -name '*resize*.jpg' -not -name '*box*.jpg' \ + -name '*.jpg' \ + -not -name '*resize*.jpg' \ + -not -name '*fill*.jpg' \ + -not -name '*fit*.jpg' \ -delete # upload to fastmail @lftp -c "set ftp:list-options -a; \ @@ -32,7 +35,11 @@ deploy: hugo # remove unprocessed images find public/ \ - -name '*.jpg' -not -name '*resize*.jpg' -not -name '*box*.jpg' \ + -name '.DS_Store' \ + -name '*.jpg' \ + -not -name '*resize*.jpg' \ + -not -name '*fill*.jpg' \ + -not -name '*fit*.jpg' \ -delete # upload to fastmail @lftp -c "set ftp:list-options -a; \