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 a444d47744afbe3939afaee0dfec5416deea93e7
parent 23c2122de3839950676954d5e2affc9bb703fd04
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Mon,  5 Nov 2018 08:53:59 +0100

Remove unprocessed files in gitlab-ci

Diffstat:
M.gitlab-ci.yml | 7+++++++
MMakefile | 4++--
2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml @@ -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 @@ -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' \