Try to auto handbook

This commit is contained in:
Dandaedre 2026-07-30 17:46:24 +02:00 committed by Dandaedre
parent c28e8b0426
commit a9ac227d97
1 changed files with 3 additions and 0 deletions

3
Jenkinsfile vendored
View File

@ -9,6 +9,7 @@ def deployTo(String targetDir) {
sh "rsync -a --delete \"enc_${MSTR_BOOK}\" \"${targetDir}/\""
sh "rsync -a --delete \"${FULL_BOOK}\" \"${targetDir}/\""
sh "rsync -a --delete \"${PLYR_BOOK}\" \"${targetDir}/\""
sh "rsync -a --delete \"${HNDB_DIR}*\" \"${targetDira}/\""
}
pipeline {
agent { label 'latex_no_docker' }
@ -20,6 +21,7 @@ pipeline {
FULL_BOOK = "Ravenous_build.pdf"
PLYR_BOOK = "Player_handbook_build.pdf"
MSTR_BOOK = "Master_handbook_build.pdf"
HNDB_DIR = "Handbooks/"
MDBOOK_BUILD_DIR = "book" // Don't change, it allows the build script & mdBook to know where the book is
DEPLOY_DIR = "/mnt/books/Ravenous" // Important, all books are in /mnt/book
}
@ -154,4 +156,5 @@ def runBuild(String deployDir) {
// sh "ravenous-tools make -N ${texFile}" // second build for correct references
// }
sh './build.sh full'
sh "./all_players.sh"
}