From a9ac227d9718fd14a9e97ba3910a13f67251c8d0 Mon Sep 17 00:00:00 2001 From: Dandaedre Date: Thu, 30 Jul 2026 17:46:24 +0200 Subject: [PATCH] Try to auto handbook --- Jenkinsfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index 955f150..23b5aad 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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" }