fixed problem with curl -L outputting all data to stdout

This commit is contained in:
Hamza Ahmed
2021-12-08 19:06:03 +00:00
parent cde246f181
commit b8f03eca4f
+3 -3
View File
@@ -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: