From b8f03eca4f2844c2bd097de5a16e2e92feea616b Mon Sep 17 00:00:00 2001 From: Hamza Ahmed Date: Wed, 8 Dec 2021 19:06:03 +0000 Subject: [PATCH] fixed problem with curl -L outputting all data to stdout --- .gitlab-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c81aa0f..0a7c2ca 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,9 +8,9 @@ Build: stage: build image: alpine:latest before_script: - - 'which curl || ( apk update && apk add curl )' - - curl -L https://github.com/gohugoio/hugo/releases/download/v0.90.0/hugo_0.90.0_Linux-64bit.tar.gz -# - tar -zxf hugo_0.90.0_Linux-64bit.tar.gz + - which curl || ( apk update && apk add curl ) + - curl -L https://github.com/gohugoio/hugo/releases/download/v0.90.0/hugo_0.90.0_Linux-64bit.tar.gz > hugo.tar.gz + - tar -zxf hugo.tar.gz script: - hugo artifacts: