commit e7339b63c3e92d6fd0ac1e4ea3cc44c09542c12f parent 5e1d798691d52f8b73b1f41e8002d8a76f3d1466 Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Mon, 5 Nov 2018 09:17:17 +0100 Change gitlab-ci script lines Diffstat:
M | .gitlab-ci.yml | | | 13 | +++++++++++-- |
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml @@ -13,13 +13,22 @@ pages: before_script: - hugo version script: - - hugo && find public/ + - 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/ + -delete + - du -h public/ artifacts: paths: - public