diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ea11ae2517b6f2332d6fc429d41d0e5781750b5e..ac757897346b9f9bcef9e18651f8cf3a24e67e5d 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