From a9ab93a4b965e3922f6302e25a9d247614652bc3 Mon Sep 17 00:00:00 2001 From: me Date: Wed, 18 Feb 2026 11:26:46 +0300 Subject: [PATCH] update Jenkinsfile --- Jenkinsfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index a7e6ab3..10aafee 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -7,15 +7,15 @@ pipeline { stage('Install Hugo') { steps { sh ''' - wget -q https://github.com/gohugoio/hugo/releases/download/v0.145.0/hugo_extended_0.145.0_linux-amd64.tar.gz - tar -xzf hugo_extended_0.145.0_linux-amd64.tar.gz - mv hugo /usr/local/bin/hugo + curl -sL https://github.com/gohugoio/hugo/releases/download/v0.145.0/hugo_extended_0.145.0_linux-amd64.tar.gz \ + -o hugo.tar.gz + tar -xzf hugo.tar.gz hugo ''' } } stage('Build') { steps { - sh 'hugo --minify' + sh './hugo --minify' } } stage('Deploy') {