Introduction
Introduction Statistics Contact Development Disclaimer Help
tDo not use several name commands in find - andersdamsgaard.com - my photograph…
git clone git://src.adamsgaard.dk/andersdamsgaard.com
Log
Files
Refs
Submodules
README
LICENSE
---
commit 596c261b3af29785d46b932ef8e0fe3392fe6126
parent e7339b63c3e92d6fd0ac1e4ea3cc44c09542c12f
Author: Anders Damsgaard <[email protected]>
Date: Mon, 5 Nov 2018 09:21:54 +0100
Do not use several name commands in find
Diffstat:
M .gitlab-ci.yml | 10 +---------
M Makefile | 1 -
2 files changed, 1 insertion(+), 10 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
t@@ -14,21 +14,13 @@ pages:
- hugo version
script:
- hugo
- - find public -iname '*.jpg'
- find public/
- -iname '.DS_Store'
- -iname '*.jpg'
- -not -iname '*resize*.jpg'
- -not -iname '*fill*.jpg'
- -not -iname '*fit*.jpg'
- - find public/
- -iname '.DS_Store'
-iname '*.jpg'
-not -iname '*resize*.jpg'
-not -iname '*fill*.jpg'
-not -iname '*fit*.jpg'
-delete
- - du -h public/
+ - du -h public/
artifacts:
paths:
- public
diff --git a/Makefile b/Makefile
t@@ -25,7 +25,6 @@ generate-public:
# generate public/ and remove unprocessed images
hugo
find public \
- -iname '.DS_Store' \
-iname '*.jpg' \
-not -iname '*resize*.jpg' \
-not -iname '*fill*.jpg' \
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.