This commit is contained in:
parent
d4d53d5b75
commit
f26eb35b29
1 changed files with 0 additions and 24 deletions
24
Jenkinsfile
vendored
24
Jenkinsfile
vendored
|
@ -1,24 +0,0 @@
|
|||
pipeline {
|
||||
agent { label 'web' }
|
||||
stages {
|
||||
stage('Build') {
|
||||
when {
|
||||
branch 'master'
|
||||
}
|
||||
steps {
|
||||
sh '''cd main
|
||||
bundle
|
||||
bundle exec jekyll build'''
|
||||
}
|
||||
}
|
||||
stage('Deploy') {
|
||||
when {
|
||||
branch 'master'
|
||||
}
|
||||
steps {
|
||||
sh "rm -rf /var/www/ellpeck/*"
|
||||
sh "cp -r main/_site/. /var/www/ellpeck"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue