Introduction
Introduction Statistics Contact Development Disclaimer Help
tRemove unprocessed files in gitlab-ci - andersdamsgaard.com - my photography w…
git clone git://src.adamsgaard.dk/andersdamsgaard.com
Log
Files
Refs
Submodules
README
LICENSE
---
commit a444d47744afbe3939afaee0dfec5416deea93e7
parent 23c2122de3839950676954d5e2affc9bb703fd04
Author: Anders Damsgaard <[email protected]>
Date: Mon, 5 Nov 2018 08:53:59 +0100
Remove unprocessed files in gitlab-ci
Diffstat:
M .gitlab-ci.yml | 7 +++++++
M Makefile | 4 ++--
2 files changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
t@@ -16,6 +16,13 @@ pages:
- hugo version
script:
- make deploy-gitlab
+ - find public \
+ -iname '.DS_Store' \
+ -iname '*.jpg' \
+ -not -iname '*resize*.jpg' \
+ -not -iname '*fill*.jpg' \
+ -not -iname '*fit*.jpg' \
+ -delete && du -h public/
artifacts:
paths:
- public
diff --git a/Makefile b/Makefile
t@@ -23,8 +23,8 @@ deploy-locally:
.PHONY: generate-public
generate-public:
# generate public/ and remove unprocessed images
- hugo && \
- find public \
+ hugo
+ find public \
-iname '.DS_Store' \
-iname '*.jpg' \
-not -iname '*resize*.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.