first commit

This commit is contained in:
2025-06-20 13:37:43 +00:00
parent 502832031a
commit 6a4aaac2a3
9 changed files with 674 additions and 0 deletions

16
Jenkinsfile vendored Executable file
View File

@@ -0,0 +1,16 @@
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'
sh 'pandoc --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/'
}
}
}
}