t.gitlab-ci.yml - 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 --- t.gitlab-ci.yml (493B) --- 1 variables: 2 GIT_SUBMODULE_STRATEGY: recursive 3 4 test: 5 image: registry.gitlab.com/pages/hugo:latest 6 script: 7 - hugo 8 except: 9 - master 10 11 pages: 12 image: registry.gitlab.com/plett/hugoextended:latest 13 before_script: 14 - hugo version 15 script: 16 - hugo 17 - find public/ 18 -iname '*.jpg' 19 -not -iname '*resize*.jpg' 20 -not -iname '*fill*.jpg' 21 -not -iname '*fit*.jpg' 22 -delete 23 - du -h public/ 24 artifacts: 25 paths: 26 - public 27 only: 28 - master