From d17b5f0d6084cbad307e860a996c2efbac2faae1 Mon Sep 17 00:00:00 2001 From: Vladimir Hodakov Date: Sun, 28 Oct 2018 22:24:24 +0400 Subject: [PATCH] Move Hugo version to variable in CI --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fd3b1ca..b680f71 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,15 +1,15 @@ variables: GIT_SUBMODULE_STRATEGY: recursive + HUGO_VERSION: 0.49.2 build site: stage: build before_script: - apk --no-cache add ca-certificates wget openssh-client - update-ca-certificates - - wget https://github.com/gohugoio/hugo/releases/download/v0.49.2/hugo_0.49.2_Linux-64bit.tar.gz + - wget https://github.com/gohugoio/hugo/releases/download/v$HUGO_VERSION/hugo_$HUGO_VERSION_Linux-64bit.tar.gz - tar xf hugo_0.49.2_Linux-64bit.tar.gz -C /usr/local/bin script: - - find . - /usr/local/bin/hugo -d tango.hodakov.me artifacts: untracked: true