update Jenkinsfile

This commit is contained in:
2026-02-18 11:26:46 +03:00
parent aa59f881f3
commit a9ab93a4b9

8
Jenkinsfile vendored
View File

@@ -7,15 +7,15 @@ pipeline {
stage('Install Hugo') { stage('Install Hugo') {
steps { steps {
sh ''' sh '''
wget -q https://github.com/gohugoio/hugo/releases/download/v0.145.0/hugo_extended_0.145.0_linux-amd64.tar.gz curl -sL 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 -o hugo.tar.gz
mv hugo /usr/local/bin/hugo tar -xzf hugo.tar.gz hugo
''' '''
} }
} }
stage('Build') { stage('Build') {
steps { steps {
sh 'hugo --minify' sh './hugo --minify'
} }
} }
stage('Deploy') { stage('Deploy') {