Skip to content
Snippets Groups Projects
Commit cf1e270f authored by Gervaise H. Henry's avatar Gervaise H. Henry
Browse files

Add custom cache for hugo

parent e6d48008
Branches
Tags
2 merge requests!44Develop,!43Wordcloud.202004
Pipeline #6800 failed with stages
in 3 seconds
......@@ -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:
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment