From 3eb893071fd99472246edceec65ccb89401cad26 Mon Sep 17 00:00:00 2001 From: "Gervaise H. Henry" <gervaise.henry@gmail.com> Date: Fri, 1 May 2020 20:11:59 -0500 Subject: [PATCH] Remove cache dirs from hugo deploys --- .gitlab-ci.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 54813c1..ea11ae2 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 --cacheDir $CI_PROJECT_DIR/cache + - singularity run 'docker://monachus/hugo' hugo deploy --target aws-dev --maxDeletes -1 dependencies: - build.dev only: @@ -57,8 +57,7 @@ deploy.dev: deploy.live: stage: deploy_stage script: - - singularity run 'docker://monachus/hugo' hugo deploy --target aws --maxDeletes -1 --cacheDir $CI_PROJECT_DIR/cache - dependencies: + - singularity run 'docker://monachus/hugo' hugo deploy --target aws --maxDeletes -1 - build.live only: - tags \ No newline at end of file -- GitLab