Files
Abenteuerkanzlei2/Jenkinsfile
2026-03-01 11:38:19 +01:00

16 lines
478 B
Groovy
Executable File

pipeline {
agent { docker { image 'pandoc/latex' } }
stages {
stage('generate epub') {
steps {
sh 'pandoc --toc --toc-depth=1 --epub-metadata=metadata.yaml --css=book.css -o myebook.epub --css book.css --toc -N -o build/output.epub src/title.txt src/*.md'
}
}
stage('deploy book') {
steps {
sh 'cp myebook.epub /var/www/zerp/'
}
}
}
}