From 7d81668c9588dd9e56456bf322d3dcb92ba036c3 Mon Sep 17 00:00:00 2001 From: Hamza Ahmed Date: Wed, 8 Dec 2021 19:12:35 +0000 Subject: [PATCH] fixed hugo binary not found by moving it to /usr/local/bin --- .gitlab-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f5807ab..4a8ac2f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -11,8 +11,9 @@ Build: - 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 + - mv hugo /usr/local/bin script: - - .hugo + - hugo artifacts: paths: - public