From 2fc2e418f2e2d8e97b1a1401d609e8296da3bfdc Mon Sep 17 00:00:00 2001 From: nik Date: Tue, 23 Sep 2025 17:02:58 +0300 Subject: [PATCH] update PaperMod submodule --- Jenkinsfile | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index ab40ff7..11548eb 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -4,7 +4,7 @@ pipeline { DEPLOY_HOST = 'web@23.26.156.61' DEPLOY_PATH = '/srv/www/masha-site' SSH_CRED_ID = 'web-ssh' - HUGO_VERSION = '0.128.1' + HUGO_VERSION = '0.149.0' } triggers { githubPush() @@ -17,16 +17,17 @@ pipeline { } } stage('Setup Hugo') { - steps { - sh ''' - mkdir -p tools - cd tools - curl -L -o hugo.tar.gz https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_Linux-64bit.tar.gz - tar -xzf hugo.tar.gz - chmod +x hugo - ''' - } - } + steps { + sh ''' + mkdir -p tools + cd tools + curl -L -o hugo.tar.gz https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_Linux-64bit.tar.gz + tar -xzf hugo.tar.gz + chmod +x hugo + ''' + } +} + stage('Build site') { steps { sh './tools/hugo --minify' @@ -45,4 +46,3 @@ pipeline { failure { echo 'Failed' } } } -