update Jenkinsfile
This commit is contained in:
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@@ -17,7 +17,7 @@ pipeline {
|
||||
tar -xzf go.tar.gz
|
||||
'''
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Build') {
|
||||
steps {
|
||||
sh 'PATH=$PATH:$WORKSPACE/go/bin ./hugo --minify'
|
||||
@@ -29,7 +29,7 @@ pipeline {
|
||||
scp -o StrictHostKeyChecking=no -r public/* root@172.17.0.1:${DEPLOY_PATH}/
|
||||
'''
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
post {
|
||||
success {
|
||||
|
||||
Reference in New Issue
Block a user