tRemove unprocessed files in gitlab-ci - andersdamsgaard.com - my photography webpage
 (HTM) git clone git://src.adamsgaard.dk/andersdamsgaard.com
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) Submodules
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit a444d47744afbe3939afaee0dfec5416deea93e7
 (DIR) parent 23c2122de3839950676954d5e2affc9bb703fd04
 (HTM) 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 +++++++
         M Makefile                            |       4 ++--
       
       2 files changed, 9 insertions(+), 2 deletions(-)
       ---
 (DIR) 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
 (DIR) 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' \