The repository for my website https://ellpeck.de/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

30 lines
541 B

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 ${env.DEST}/*"
sh "cp -r main/_site/. ${env.DEST}"
sh "cp -r actaddmanual ${env.DEST}"
sh "cp -r commissions ${env.DEST}"
}
}
}
environment {
DEST = "/var/www/ellpeck"
}
}