Web/Jenkinsfile
Ell 6bde3c4ff8
Some checks failed
Web/pipeline/head There was a failure building this commit
silently convert the entire website to jekyll
2021-07-09 01:59:28 +02:00

24 lines
No EOL
410 B
Groovy

pipeline {
agent any
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/*
cp -r main/_site/. /var/www/ellpeck'''
}
}
}
}