From 78cd13972fe5844826b7895aa212017ec421c399 Mon Sep 17 00:00:00 2001
From: "Gervaise H. Henry" <gervaise.henry@gmail.com>
Date: Fri, 1 May 2020 20:18:45 -0500
Subject: [PATCH] Add back caches to hugo deploys

---
 .gitlab-ci.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ea11ae2..ac75789 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
   - build.live
   only:
   - tags
\ No newline at end of file
-- 
GitLab