From cf1e270f70c20d65ec910d9526487ecdf9642bff Mon Sep 17 00:00:00 2001 From: "Gervaise H. Henry" <gervaise.henry@gmail.com> Date: Fri, 1 May 2020 20:05:20 -0500 Subject: [PATCH] Add custom cache for hugo --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index eaf212c..3ec5992 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -46,7 +46,7 @@ test: deploy.dev: stage: deploy_stage script: - - singularity run 'docker://monachus/hugo' hugo deploy --target aws-dev --maxDeletes -1 + - singularity run 'docker://monachus/hugo' hugo deploy --target aws-dev --maxDeletes -1 --cacheDir $CI_PROJECT_DIR/cache dependencies: - build.dev only: @@ -57,7 +57,7 @@ deploy.dev: deploy.live: stage: deploy_stage script: - - singularity run 'docker://monachus/hugo' hugo deploy --target aws --maxDeletes -1 + - singularity run 'docker://monachus/hugo' hugo deploy --target aws --maxDeletes -1 --cacheDir $CI_PROJECT_DIR/cache dependencies: - build.live only: -- GitLab