remove Jenkinsfile
This commit is contained in:
parent
ddd6c4b4e5
commit
2197603d8a
24
Jenkinsfile
vendored
24
Jenkinsfile
vendored
@ -1,24 +0,0 @@
|
||||
pipeline {
|
||||
agent any
|
||||
|
||||
stages {
|
||||
stage('Build') {
|
||||
steps {
|
||||
echo 'run zola build'
|
||||
sh 'zola build'
|
||||
}
|
||||
}
|
||||
stage('Deploy') {
|
||||
steps {
|
||||
echo 'Hello World'
|
||||
sshagent(credentials: ['d82f9436-4c96-44c2-9ed3-b21481e7b742']) {
|
||||
sh '''
|
||||
[ -d ~/.ssh ] || mkdir ~/.ssh && chmod 0700 ~/.ssh
|
||||
ssh-keyscan -t rsa,dsa lvacula.com >> ~/.ssh/known_hosts
|
||||
rsync -az -e "ssh -o StrictHostKeyChecking=no" public/. greywolver@lvacula.com:lvacula.com-docker/volumes/blog
|
||||
'''
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user