From 1d68c226bd2ce69d2f46b0299674b2c9729824b8 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Fri, 9 Oct 2020 20:09:19 +0100 Subject: [PATCH] Use apt-get and create a blank env file --- .gitlab-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 69b2be5..58d8815 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -11,9 +11,10 @@ cache: - .cache before_script: - - apt update && apt install -y curl + - apt-get update && apt-get install -y curl - 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 + - touch .env - npm ci --cache .npm --prefer-offline --production test: