From 769ef77dcdb2b1e35b300dc6af4d9aa806fe25e8 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Fri, 9 Oct 2020 19:48:51 +0100 Subject: [PATCH] Recursive checkout and use curl to download --- .gitlab-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 53b6ed9..d162275 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,6 +2,7 @@ image: "node:lts-slim" variables: HUGO_VERSION: "0.73.0" + GIT_SUBMODULE_STRATEGY: recursive cache: key: ${CI_COMMIT_REF_SLUG} @@ -10,7 +11,7 @@ cache: - .cache before_script: - - wget https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_Linux-64bit.deb -O /tmp/hugo.deb + - curl -Lo /tmp/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_Linux-64bit.deb - dpkg -i /tmp/hugo.deb - npm ci --cache .npm --prefer-offline --production